USE [master] GO /****** Object: Database [deiniuWMS] Script Date: 2018/4/17 23:07:46 ******/ CREATE DATABASE [deiniuWMS] CONTAINMENT = NONE ON PRIMARY ( NAME = N'dwms4', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL11.ELE\MSSQL\DATA\deiniuWMS.mdf' , SIZE = 364544KB , MAXSIZE = UNLIMITED, FILEGROWTH = 1024KB ) LOG ON ( NAME = N'dwms4_log', FILENAME = N'D:\Program Files\Microsoft SQL Server\MSSQL11.ELE\MSSQL\DATA\deiniuWMS_log.ldf' , SIZE = 43264KB , MAXSIZE = 2048GB , FILEGROWTH = 10%) GO ALTER DATABASE [deiniuWMS] SET COMPATIBILITY_LEVEL = 110 GO IF (1 = FULLTEXTSERVICEPROPERTY('IsFullTextInstalled')) begin EXEC [deiniuWMS].[dbo].[sp_fulltext_database] @action = 'enable' end GO ALTER DATABASE [deiniuWMS] SET ANSI_NULL_DEFAULT OFF GO ALTER DATABASE [deiniuWMS] SET ANSI_NULLS OFF GO ALTER DATABASE [deiniuWMS] SET ANSI_PADDING OFF GO ALTER DATABASE [deiniuWMS] SET ANSI_WARNINGS OFF GO ALTER DATABASE [deiniuWMS] SET ARITHABORT OFF GO ALTER DATABASE [deiniuWMS] SET AUTO_CLOSE OFF GO ALTER DATABASE [deiniuWMS] SET AUTO_CREATE_STATISTICS ON GO ALTER DATABASE [deiniuWMS] SET AUTO_SHRINK OFF GO ALTER DATABASE [deiniuWMS] SET AUTO_UPDATE_STATISTICS ON GO ALTER DATABASE [deiniuWMS] SET CURSOR_CLOSE_ON_COMMIT OFF GO ALTER DATABASE [deiniuWMS] SET CURSOR_DEFAULT GLOBAL GO ALTER DATABASE [deiniuWMS] SET CONCAT_NULL_YIELDS_NULL OFF GO ALTER DATABASE [deiniuWMS] SET NUMERIC_ROUNDABORT OFF GO ALTER DATABASE [deiniuWMS] SET QUOTED_IDENTIFIER OFF GO ALTER DATABASE [deiniuWMS] SET RECURSIVE_TRIGGERS OFF GO ALTER DATABASE [deiniuWMS] SET DISABLE_BROKER GO ALTER DATABASE [deiniuWMS] SET AUTO_UPDATE_STATISTICS_ASYNC OFF GO ALTER DATABASE [deiniuWMS] SET DATE_CORRELATION_OPTIMIZATION OFF GO ALTER DATABASE [deiniuWMS] SET TRUSTWORTHY OFF GO ALTER DATABASE [deiniuWMS] SET ALLOW_SNAPSHOT_ISOLATION OFF GO ALTER DATABASE [deiniuWMS] SET PARAMETERIZATION SIMPLE GO ALTER DATABASE [deiniuWMS] SET READ_COMMITTED_SNAPSHOT OFF GO ALTER DATABASE [deiniuWMS] SET HONOR_BROKER_PRIORITY OFF GO ALTER DATABASE [deiniuWMS] SET RECOVERY SIMPLE GO ALTER DATABASE [deiniuWMS] SET MULTI_USER GO ALTER DATABASE [deiniuWMS] SET PAGE_VERIFY CHECKSUM GO ALTER DATABASE [deiniuWMS] SET DB_CHAINING OFF GO ALTER DATABASE [deiniuWMS] SET FILESTREAM( NON_TRANSACTED_ACCESS = OFF ) GO ALTER DATABASE [deiniuWMS] SET TARGET_RECOVERY_TIME = 0 SECONDS GO EXEC sys.sp_db_vardecimal_storage_format N'deiniuWMS', N'ON' GO USE [deiniuWMS] GO USE [deiniuWMS] GO /****** Object: Sequence [dbo].[seqOrderNo] Script Date: 2018/4/17 23:07:46 ******/ CREATE SEQUENCE [dbo].[seqOrderNo] AS [bigint] START WITH 0 INCREMENT BY 1 MINVALUE -9223372036854775808 MAXVALUE 9223372036854775807 CACHE GO /****** Object: Table [dbo].[t_tmsLineDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_tmsLineDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [lineId] [int] NOT NULL, [custId] [nvarchar](50) NOT NULL, [lineOrder] [int] NOT NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_tmsStock] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_tmsStock]( [id] [int] IDENTITY(1,1) NOT NULL, [locationId] [nvarchar](50) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [count] [int] NOT NULL, [state] [int] NOT NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_tmsTranRequest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_tmsTranRequest]( [id] [int] IDENTITY(1,1) NOT NULL, [transNo] [nvarchar](50) NOT NULL, [lineId] [int] NULL, [tranType] [int] NOT NULL, [viechleNo] [nvarchar](50) NULL, [contact] [nvarchar](50) NULL, [driver] [int] NULL, [phone] [nvarchar](50) NULL, [state] [int] NOT NULL, [description] [nvarchar](250) NULL, [thirdPart] [int] NULL, [sumVol] [decimal](18, 2) NULL, [sumWeight] [decimal](18, 2) NULL, [boxCnt] [int] NULL, [bulkBox] [int] NULL, [bulkBag] [int] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_tmsTranRequestDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_tmsTranRequestDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [transNo] [nvarchar](50) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [state] [int] NOT NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_tmsViechle] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_tmsViechle]( [id] [int] IDENTITY(1,1) NOT NULL, [viechleId] [nvarchar](50) NOT NULL, [volume] [int] NULL, [load] [int] NULL, [airCondition] [int] NULL, [length] [decimal](18, 2) NULL, [width] [decimal](18, 2) NULL, [height] [decimal](18, 2) NULL, [weight] [decimal](18, 2) NULL, [owner] [int] NULL, [driver] [int] NULL, [state] [int] NULL, [transOrder] [nvarchar](50) NULL, [transState] [int] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsDealLocation] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsDealLocation]( [id] [int] IDENTITY(1,1) NOT NULL, [locationFrom] [nvarchar](50) NULL, [locationTo] [nvarchar](50) NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [outCount] [decimal](18, 2) NULL, [manufacturer] [nvarchar](200) NULL, [state] [int] NULL, [checkBy] [int] NULL, [description] [nvarchar](250) NULL, [printCnt] [int] NULL, [finishedTime] [datetime] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsDealLocation] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsGoods]( [ID] [int] IDENTITY(1,1) NOT NULL, [goodsId] [nvarchar](50) NOT NULL, [goodsType] [int] NULL, [part] [int] NULL, [full_max] [decimal](18, 2) NULL, [bulkMax] [decimal](18, 2) NULL, [bulkMax1] [decimal](18, 2) NULL, [batchMax1] [decimal](18, 2) NULL, [batchMax2] [decimal](18, 2) NULL, [batchMax3] [decimal](18, 2) NULL, [batchMax4] [decimal](18, 2) NULL, [length] [decimal](18, 2) NULL, [width] [decimal](18, 2) NULL, [height] [decimal](18, 2) NULL, [weight] [decimal](18, 2) NULL, [validTermDays] [int] NULL, [bigCount] [decimal](18, 2) NULL, [repType] [int] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_wms_goods_infor_base] PRIMARY KEY CLUSTERED ( [goodsId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsInRequest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsInRequest]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [orderType] [int] NULL, [orderTypeName] [nvarchar](50) NULL, [vender] [nvarchar](250) NULL, [owner] [nvarchar](250) NULL, [state] [int] NULL, [orderDate] [date] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsInRequest] PRIMARY KEY CLUSTERED ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsInRequestDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsInRequestDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NULL, [goodsId] [nvarchar](50) NOT NULL, [goodsName] [nvarchar](50) NULL, [cnt] [decimal](18, 0) NULL, [countIn] [decimal](18, 0) NULL, [productDate] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [barcode] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [regeditCode] [nvarchar](50) NULL, [manufacturer] [nvarchar](250) NULL, [state] [int] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsInRequestDetail] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsInUpPort] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsInUpPort]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [recType] [int] NULL, [recordId] [int] NOT NULL, [detailId] [int] NULL, [batch] [nvarchar](50) NULL, [goodsId] [nvarchar](50) NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [count] [decimal](18, 0) NULL, [locationId] [nvarchar](50) NULL, [volType] [int] NULL, [state] [int] NULL, [upCount] [decimal](18, 0) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsInUpPort] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[t_wmsLocation]( [id] [int] IDENTITY(1,1) NOT NULL, [locationId] [nvarchar](50) NOT NULL, [locationId128] [nvarchar](250) NULL, [warehouse] [int] NULL, [channel] [int] NULL, [shelf] [int] NULL, [layer] [int] NULL, [col] [int] NULL, [elabId] [int] NULL, [elabAddress] [int] NULL, [height] [decimal](18, 2) NULL, [width] [decimal](18, 2) NULL, [length] [decimal](18, 2) NULL, [weight] [decimal](18, 2) NULL, [port] [int] NULL, [part] [varchar](50) NULL, [bigPart] [varchar](50) NULL, [goodsType] [int] NULL, [whType] [int] NULL, [whGoodsType] [int] NULL, [whVolType] [int] NULL, [volType] [int] NULL, [state] [int] NULL, [tranState] [int] NULL, [transLine] [int] NULL, [x] [decimal](18, 2) NULL, [y] [decimal](18, 2) NULL, [z] [decimal](18, 2) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmslocation] PRIMARY KEY CLUSTERED ( [locationId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo].[t_wmsOutBox] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutBox]( [id] [int] IDENTITY(1,1) NOT NULL, [boxid] [nvarchar](50) NULL, [color] [int] NULL, [waveNo] [nvarchar](50) NULL, [volume] [int] NULL, [length] [int] NULL, [width] [int] NULL, [height] [int] NULL, [state] [int] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutBox_1] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutDesk] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[t_wmsOutDesk]( [id] [int] IDENTITY(1,1) NOT NULL, [color] [int] NOT NULL, [deskName] [nvarchar](50) NOT NULL, [ip] [nvarchar](50) NOT NULL, [macaddress] [varchar](50) NULL, [remark] [nvarchar](250) NULL, [state] [int] NULL, [port] [int] NULL, [seedsCount] [int] NULL, [startLabelId] [int] NULL, [deskType] [int] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutDesk] PRIMARY KEY CLUSTERED ( [color] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo].[t_wmsOutDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [bulkCount] [decimal](18, 2) NULL, [batch1Count] [decimal](18, 2) NULL, [batch2Count] [decimal](18, 2) NULL, [boxcnt] [int] NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [state] [int] NULL, [whtype] [int] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutLog] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutLog]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NULL, [pickOrderNo] [nvarchar](50) NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [orderState] [int] NULL, [pickState] [int] NULL, [bulkPickState] [int] NULL, [batchPickState] [int] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [customerId] [nvarchar](50) NULL, [customerName] [nvarchar](250) NULL, [custAddress] [nvarchar](250) NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [bulkCount] [decimal](18, 2) NULL, [batch1Count] [decimal](18, 2) NULL, [batch2Count] [decimal](18, 2) NULL, [boxcnt] [int] NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [state] [int] NULL, [bulkPickState] [int] NULL, [batchPickState] [int] NULL, [whtype] [int] NULL, [description] [nvarchar](250) NULL, [confirmedCount] [decimal](18, 2) NULL, [checkedBy] [int] NULL, [validReason] [int] NULL, [validSolution] [int] NULL, [validRemark] [nvarchar](250) NULL, [solutionRemark] [nvarchar](250) NULL, [checkedTime] [datetime] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutPickDetail] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickDetail_tmp] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickDetail_tmp]( [desk] [int] NULL, [orderState] [int] NULL, [waveOrder] [nvarchar](50) NULL, [seedsPickNo] [nvarchar](50) NULL, [seedsPort] [int] NULL, [seedsLabelId] [int] NULL, [id] [int] NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [customerId] [nvarchar](50) NULL, [customerName] [nvarchar](250) NULL, [custAddress] [nvarchar](250) NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [bulkCount] [decimal](18, 2) NULL, [batch1Count] [decimal](18, 2) NULL, [batch2Count] [decimal](18, 2) NULL, [boxcnt] [int] NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [state] [int] NULL, [bulkPickState] [int] NULL, [batchPickState] [int] NULL, [whtype] [int] NULL, [description] [nvarchar](250) NULL, [confirmedCount] [decimal](18, 2) NULL, [checkedBy] [int] NULL, [validReason] [int] NULL, [validSolution] [int] NULL, [validRemark] [nvarchar](250) NULL, [solutionRemark] [nvarchar](250) NULL, [checkedTime] [datetime] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickLable] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickLable]( [id] [int] IDENTITY(1,1) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [waveOrder] [nvarchar](50) NOT NULL, [color] [int] NOT NULL, [recordId] [int] NOT NULL, [count] [decimal](18, 0) NULL, [locationId] [nvarchar](50) NULL, [elabId] [int] NULL, [port] [int] NULL, [elabAddress] [int] NULL, [state] [int] NULL, [pickCount] [decimal](18, 0) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutPickLable] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickLable_tmp] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickLable_tmp]( [id] [int] IDENTITY(1,1) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [waveOrder] [nvarchar](50) NOT NULL, [color] [int] NOT NULL, [recordId] [int] NOT NULL, [count] [decimal](18, 0) NULL, [locationId] [nvarchar](50) NULL, [elabId] [int] NULL, [port] [int] NULL, [elabAddress] [int] NULL, [state] [int] NULL, [pickCount] [decimal](18, 0) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutPickLable_tmp] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickPort] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickPort]( [id] [int] IDENTITY(1,1) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [waveOrder] [nvarchar](50) NULL, [recordId] [int] NOT NULL, [count] [decimal](18, 0) NULL, [locationId] [nvarchar](50) NULL, [volType] [int] NULL, [tranLocationId] [nvarchar](50) NULL, [state] [int] NULL, [pickCount] [decimal](18, 0) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutPickPort] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutPickRequest]( [id] [int] IDENTITY(1,1) NOT NULL, [pickOrderNo] [nvarchar](50) NOT NULL, [waveOrder] [nvarchar](50) NULL, [transNo] [nvarchar](50) NULL, [orderType] [int] NULL, [orderTypeName] [nvarchar](50) NULL, [customerId] [nvarchar](50) NULL, [customerName] [nvarchar](250) NULL, [custAddress] [nvarchar](250) NULL, [desk] [int] NOT NULL, [boxCnt] [int] NULL, [bulkCnt] [decimal](18, 0) NULL, [bulkBox] [int] NULL, [bulkBag] [int] NULL, [tranLocationId] [nvarchar](50) NULL, [volume] [decimal](18, 2) NULL, [weight] [decimal](18, 2) NULL, [state] [int] NULL, [bulkPickState] [int] NULL, [batchPickState] [int] NULL, [orderDate] [date] NULL, [description] [nvarchar](250) NULL, [pickedBye] [int] NULL, [pickedTime] [datetime] NULL, [checkedby] [int] NULL, [checkedTime] [datetime] NULL, [waveStart] [datetime] NULL, [waveEnd] [datetime] NULL, [priority] [int] NULL, [seedsPickNo] [nvarchar](50) NULL, [seedsPort] [int] NULL, [seedsLabelId] [int] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutPickRequest] PRIMARY KEY CLUSTERED ( [pickOrderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[t_wmsOutRequest]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [pickOrderNo] [nvarchar](50) NULL, [orderType] [int] NULL, [orderTypeName] [varchar](20) NULL, [customerId] [nvarchar](50) NULL, [customerName] [nvarchar](200) NULL, [custAddress] [nvarchar](250) NULL, [delivery] [nvarchar](50) NULL, [phone1] [nvarchar](50) NULL, [phone2] [nvarchar](50) NULL, [salesperson] [nvarchar](50) NULL, [contactperson] [nvarchar](50) NULL, [totalnumber] [int] NULL, [remark] [nvarchar](250) NULL, [orderDate] [date] NULL, [state] [int] NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutRequest] PRIMARY KEY CLUSTERED ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO SET ANSI_PADDING OFF GO /****** Object: Table [dbo].[t_wmsOutRequestDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutRequestDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [orderSn] [int] NOT NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](50) NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [saleDate] [datetime] NULL, [state] [int] NULL, [whtype] [int] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [dr] [bit] NULL, [createtime] [datetime] NULL, [lastmodified] [datetime] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsOutValidationException] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsOutValidationException]( [id] [int] IDENTITY(100,1) NOT NULL, [pickDetail] [bit] NULL, [waveOrder] [nvarchar](50) NULL, [pickOrder] [nvarchar](50) NULL, [exception] [int] NULL, [exceptionRemark] [nvarchar](250) NULL, [exceptionLink] [nvarchar](250) NULL, [resolveRemark] [nvarchar](250) NULL, [resove] [int] NULL, [validatedBy] [int] NULL, [resolveBy] [int] NULL, [pickedBy] [int] NULL, [dr] [bit] NULL, [operater] [int] NULL, [create_time] [datetime] NULL, [lastmodified] [datetime] NULL, CONSTRAINT [PK_t_wmsOutValidationException] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsReceive] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsReceive]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NOT NULL, [state] [int] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsReceive] PRIMARY KEY CLUSTERED ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsReceiveDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsReceiveDetail]( [id] [int] IDENTITY(1,1) NOT NULL, [orderNo] [nvarchar](50) NULL, [goodsId] [nvarchar](50) NULL, [batch] [nvarchar](200) NULL, [productDate] [nvarchar](200) NULL, [valideDate] [nvarchar](200) NULL, [purCount] [decimal](18, 2) NULL, [arriveCount] [decimal](18, 2) NULL, [receiveCount] [decimal](18, 2) NULL, [checkCount] [decimal](18, 2) NULL, [rejectReason] [nvarchar](200) NULL, [receiveDate] [datetime] NULL, [receivedby] [nvarchar](50) NULL, [state] [int] NULL, [batchState] [int] NULL, [picState] [int] NULL, [receiveResult] [nvarchar](50) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsStock]( [id] [int] IDENTITY(1,1) NOT NULL, [goodsId] [nvarchar](50) NOT NULL, [batch] [nvarchar](200) NOT NULL, [locationId] [nvarchar](50) NOT NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [validationTerm] [int] NOT NULL, [count] [decimal](18, 2) NULL, [countLock] [decimal](18, 2) NULL, [countOut] [decimal](18, 2) NULL, [countIn] [decimal](18, 2) NULL, [countOuting] [decimal](18, 2) NULL, [state] [int] NULL, [maintainDate] [date] NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsStock] PRIMARY KEY CLUSTERED ( [locationId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsStockMaintain] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsStockMaintain]( [id] [int] IDENTITY(1,1) NOT NULL, [goodsId] [nvarchar](50) NOT NULL, [batch] [nvarchar](200) NOT NULL, [locationId] [nvarchar](50) NOT NULL, [productDate] [nvarchar](50) NULL, [validDate] [nvarchar](50) NULL, [count] [decimal](18, 2) NULL, [mcount] [decimal](18, 2) NULL, [issueCount] [decimal](18, 2) NULL, [issueType] [int] NULL, [details] [nvarchar](250) NULL, [description] [nvarchar](250) NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_t_wmsStockMaintain] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[t_wmsStockRecord] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[t_wmsStockRecord]( [id] [int] IDENTITY(1,1) NOT NULL, [id128] [nvarchar](200) NULL, [orderNo] [nvarchar](50) NOT NULL, [goodsId] [nvarchar](50) NOT NULL, [batch] [nvarchar](200) NULL, [locationId] [nvarchar](50) NOT NULL, [count] [decimal](18, 2) NULL, [count1] [decimal](18, 2) NULL, [countIn] [decimal](18, 2) NULL, [countOuting] [decimal](18, 2) NULL, [rectype] [int] NOT NULL, [validDate] [nvarchar](50) NULL, [productDate] [nvarchar](50) NULL, [regeditCode] [nvarchar](50) NULL, [description] [nvarchar](250) NULL, [printcnt] [int] NULL, [operater] [int] NULL, [lastmodified] [datetime] NULL, [createtime] [datetime] NULL, [dr] [bit] NULL, CONSTRAINT [PK_wmsStockRecord] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: View [dbo].[t_node] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[t_node] AS SELECT id, name, description, parentid, flag, operater, lastmodified, createtime, dr, value, isOn FROM deiniuPlatform.dbo.t_node AS t_node_1 GO /****** Object: View [dbo].[v_erpGoods] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_erpGoods] AS SELECT EntId, GoodsId, GoodsName AS goodsName, Manufacturer AS manufacturer, spec, unit, type, regeditCode, bigCount, middleCount, address, station, Weight, drug_code, IsDouChk, BarCode, chang, kuan, gao, CurCycle, Isimport, pinYin, ShortName FROM custErp.dbo.v_erpGoods AS v_erpGoods_1 GO /****** Object: View [dbo].[v_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_wmsGoods] AS SELECT dbo.t_wmsGoods.ID, dbo.t_wmsGoods.goodsId, dbo.t_wmsGoods.goodsType, dbo.t_wmsGoods.part, dbo.t_wmsGoods.full_max, dbo.t_wmsGoods.bulkMax, dbo.t_wmsGoods.bulkMax1, dbo.t_wmsGoods.batchMax1, dbo.t_wmsGoods.batchMax2, dbo.t_wmsGoods.batchMax3, dbo.t_wmsGoods.batchMax4, dbo.t_wmsGoods.length, dbo.t_wmsGoods.width, dbo.t_wmsGoods.height, dbo.t_wmsGoods.validTermDays, dbo.t_wmsGoods.repType, dbo.t_node.name AS goodsTypeName, dbo.t_wmsGoods.dr, dbo.t_wmsGoods.createtime, dbo.t_wmsGoods.lastmodified, dbo.t_wmsGoods.operater, dbo.v_erpGoods.goodsName, dbo.v_erpGoods.manufacturer, dbo.v_erpGoods.spec, dbo.v_erpGoods.unit, dbo.v_erpGoods.regeditCode, dbo.v_erpGoods.middleCount, dbo.v_erpGoods.bigCount, dbo.v_erpGoods.address, dbo.v_erpGoods.station, dbo.v_erpGoods.Weight AS erpWeight, dbo.v_erpGoods.drug_code, dbo.v_erpGoods.IsDouChk, dbo.v_erpGoods.BarCode, dbo.v_erpGoods.chang, dbo.v_erpGoods.kuan, dbo.v_erpGoods.gao, dbo.v_erpGoods.CurCycle, dbo.v_erpGoods.Isimport, dbo.v_erpGoods.type, dbo.v_erpGoods.pinYin, t_node_1.name AS repTypeName, dbo.t_wmsGoods.weight, dbo.t_wmsGoods.length * dbo.t_wmsGoods.width * dbo.t_wmsGoods.height AS wmsVol, dbo.v_erpGoods.chang * dbo.v_erpGoods.kuan * dbo.v_erpGoods.gao AS erpVol FROM dbo.t_wmsGoods INNER JOIN dbo.v_erpGoods ON dbo.t_wmsGoods.goodsId = dbo.v_erpGoods.GoodsId LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_wmsGoods.repType = t_node_1.id LEFT OUTER JOIN dbo.t_node ON dbo.t_wmsGoods.goodsType = dbo.t_node.id GO /****** Object: View [dbo].[v_stockInRequestDetail4wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail4wince] AS SELECT dbo.t_wmsInUpPort.id, dbo.t_wmsInUpPort.recordId, dbo.t_wmsInUpPort.locationId, dbo.t_wmsInUpPort.count, CAST(dbo.t_wmsInUpPort.count / dbo.v_wmsGoods.bigCount AS decimal(18, 2)) AS box, dbo.t_wmsInUpPort.upCount, dbo.t_wmsInRequest.orderType, dbo.t_wmsInRequest.orderTypeName, dbo.t_wmsInRequest.vender, dbo.t_wmsInRequest.owner, dbo.t_wmsInUpPort.orderNo, dbo.t_wmsInUpPort.goodsId, dbo.t_wmsInUpPort.batch, dbo.t_wmsInUpPort.productDate, dbo.t_wmsInUpPort.validDate, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.type, dbo.t_wmsInUpPort.state FROM dbo.t_wmsInUpPort LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsInUpPort.goodsId = dbo.v_wmsGoods.goodsId LEFT OUTER JOIN dbo.t_wmsInRequest ON dbo.t_wmsInUpPort.orderNo = dbo.t_wmsInRequest.orderNo GO /****** Object: View [dbo].[v_customer] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_customer] AS SELECT TOP (100) PERCENT custId, custName, Address, Delivery, phone1, phone2 FROM custErp.dbo.v_customer AS v_customer_1 ORDER BY custId GO /****** Object: View [dbo].[v_tmsLineDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsLineDetail] AS SELECT DISTINCT dbo.t_tmsLineDetail.id, dbo.t_tmsLineDetail.lineId, dbo.t_tmsLineDetail.custId, dbo.v_customer.custName, dbo.t_node.name, dbo.t_node.description, dbo.t_node.flag, dbo.t_tmsLineDetail.lineOrder, dbo.v_customer.Address FROM dbo.t_tmsLineDetail LEFT OUTER JOIN dbo.v_customer ON dbo.t_tmsLineDetail.custId = dbo.v_customer.custId LEFT OUTER JOIN dbo.t_node ON dbo.t_tmsLineDetail.lineId = dbo.t_node.id GO /****** Object: View [dbo].[v_tmsLineLocation] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsLineLocation] AS SELECT dbo.t_wmsLocation.locationId, dbo.t_wmsLocation.volType, dbo.v_tmsLineDetail.* FROM dbo.v_tmsLineDetail LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.v_tmsLineDetail.lineId = dbo.t_wmsLocation.transLine GO /****** Object: View [dbo].[v_stockOutPickVolume] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickVolume] AS SELECT dbo.t_wmsOutPickDetail.pickOrderNo, dbo.t_wmsOutPickDetail.boxcnt + CONVERT(decimal(8, 2), dbo.t_wmsOutPickDetail.bulkCount / dbo.v_wmsGoods.bigCount) AS boxcnt, dbo.t_wmsOutPickDetail.boxcnt AS boxcnt2, (CASE WHEN dbo.v_wmsGoods.wmsVol > 0 THEN dbo.v_wmsGoods.wmsVol WHEN dbo.v_wmsGoods.wmsVol = 0 THEN (CASE WHEN dbo.v_wmsGoods.erpVol IS NULL THEN 0.5 * 1000000 WHEN dbo.v_wmsGoods.erpVol = 0 THEN 0.5 * 1000000 WHEN dbo.v_wmsGoods.erpVol > 0 THEN dbo.v_wmsGoods.erpVol END) END) AS volume, (CASE WHEN dbo.v_wmsGoods.weight > 0 THEN dbo.v_wmsGoods.weight WHEN dbo.v_wmsGoods.weight = 0 OR dbo.v_wmsGoods.weight IS NULL THEN (CASE WHEN dbo.v_wmsGoods.erpweight IS NULL THEN 25 WHEN dbo.v_wmsGoods.erpweight = 0 THEN 25 WHEN dbo.v_wmsGoods.erpweight > 0 THEN dbo.v_wmsGoods.erpweight END) END) AS weight FROM dbo.t_wmsOutPickDetail LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutPickDetail.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_stockOutPickVolumSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickVolumSum] AS SELECT pickOrderNo, CONVERT(decimal(8, 2), SUM(boxcnt * volume) / 1000000) AS sumVol, CONVERT(decimal(8, 2), SUM(boxcnt * weight)) AS sumWeight FROM dbo.v_stockOutPickVolume GROUP BY pickOrderNo GO /****** Object: View [dbo].[v_tmsPickRequest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsPickRequest] AS SELECT dbo.t_wmsOutPickRequest.id, dbo.t_wmsOutPickRequest.transNo, dbo.t_wmsOutPickRequest.pickOrderNo, dbo.t_wmsOutPickRequest.waveOrder, dbo.t_wmsOutPickRequest.orderType, dbo.t_wmsOutPickRequest.orderTypeName, dbo.t_wmsOutPickRequest.customerId, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.custAddress, dbo.t_wmsOutPickRequest.desk, dbo.t_wmsOutPickRequest.boxCnt, dbo.t_wmsOutPickRequest.bulkCnt, dbo.t_wmsOutPickRequest.volume, dbo.t_wmsOutPickRequest.weight, dbo.t_wmsOutPickRequest.state, dbo.t_wmsOutPickRequest.bulkPickState, dbo.t_wmsOutPickRequest.batchPickState, dbo.t_wmsOutPickRequest.orderDate, dbo.t_wmsOutPickRequest.description, dbo.t_wmsOutPickRequest.pickedBye, dbo.t_wmsOutPickRequest.pickedTime, dbo.t_wmsOutPickRequest.checkedby, dbo.t_wmsOutPickRequest.checkedTime, dbo.t_wmsOutPickRequest.waveStart, dbo.t_wmsOutPickRequest.waveEnd, dbo.t_wmsOutPickRequest.priority, dbo.t_wmsOutPickRequest.operater, dbo.t_wmsOutPickRequest.dr, dbo.t_wmsOutPickRequest.createtime, dbo.t_wmsOutPickRequest.lastmodified, dbo.t_tmsLineDetail.lineId, dbo.t_tmsLineDetail.lineOrder, dbo.t_node.name AS lineName, dbo.t_node.description AS lineDesc, dbo.v_stockOutPickVolumSum.sumVol, dbo.v_stockOutPickVolumSum.sumWeight, dbo.t_wmsOutPickRequest.bulkBox, dbo.t_wmsOutPickRequest.bulkBag, dbo.t_wmsOutPickRequest.tranLocationId, dbo.v_customer.phone1 FROM dbo.t_wmsOutPickRequest LEFT OUTER JOIN dbo.v_customer ON dbo.t_wmsOutPickRequest.customerId = dbo.v_customer.custId LEFT OUTER JOIN dbo.t_tmsLineDetail ON dbo.t_wmsOutPickRequest.customerId = dbo.t_tmsLineDetail.custId LEFT OUTER JOIN dbo.v_stockOutPickVolumSum ON dbo.t_wmsOutPickRequest.pickOrderNo = dbo.v_stockOutPickVolumSum.pickOrderNo LEFT OUTER JOIN dbo.t_node ON dbo.t_tmsLineDetail.lineId = dbo.t_node.id GO /****** Object: View [dbo].[v_stockOutDetail_wms] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutDetail_wms] AS SELECT dbo.t_wmsOutDetail.id, dbo.t_wmsOutDetail.orderNo, dbo.t_wmsOutDetail.goodsId, dbo.t_wmsOutDetail.batch, dbo.t_wmsOutDetail.count, dbo.t_wmsOutDetail.bulkCount, dbo.t_wmsOutDetail.batch1Count, dbo.t_wmsOutDetail.batch2Count, dbo.t_wmsOutDetail.boxcnt, dbo.t_wmsOutDetail.productDate, dbo.t_wmsOutDetail.validDate, dbo.t_wmsOutDetail.state, dbo.t_wmsOutDetail.whtype, dbo.t_wmsOutDetail.description, dbo.t_wmsOutDetail.operater, dbo.t_wmsOutDetail.dr, dbo.t_wmsOutDetail.createtime, dbo.t_wmsOutDetail.lastmodified, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.type, dbo.v_wmsGoods.bigCount FROM dbo.t_wmsOutDetail INNER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutDetail.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_freeLocations] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_freeLocations] AS SELECT dbo.t_wmsLocation.id, dbo.t_wmsLocation.locationId, dbo.t_wmsLocation.locationId128, dbo.t_wmsLocation.warehouse, dbo.t_wmsLocation.channel, dbo.t_wmsLocation.shelf, dbo.t_wmsLocation.layer, dbo.t_wmsLocation.col, dbo.t_wmsLocation.elabId, dbo.t_wmsLocation.elabAddress, dbo.t_wmsLocation.height, dbo.t_wmsLocation.width, dbo.t_wmsLocation.length, dbo.t_wmsLocation.weight, dbo.t_wmsLocation.port, dbo.t_wmsLocation.part, dbo.t_wmsLocation.bigPart, dbo.t_wmsLocation.goodsType, dbo.t_wmsLocation.whType, dbo.t_wmsLocation.whGoodsType, dbo.t_wmsLocation.whVolType, dbo.t_wmsLocation.volType, dbo.t_wmsLocation.state, dbo.t_wmsLocation.tranState, dbo.t_wmsLocation.operater, dbo.t_wmsLocation.lastmodified, dbo.t_wmsLocation.createtime, dbo.t_wmsLocation.dr, dbo.t_node.name AS warehouseName, t_node_1.name AS goodsTypeName FROM dbo.t_wmsLocation LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_wmsLocation.goodsType = t_node_1.id LEFT OUTER JOIN dbo.t_node ON dbo.t_wmsLocation.warehouse = dbo.t_node.id WHERE (dbo.t_wmsLocation.state = 0) AND (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsStock WHERE (dbo.t_wmsLocation.locationId = locationId))) GO /****** Object: View [dbo].[v_freeLocationByGroup] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_freeLocationByGroup] AS SELECT TOP (100) PERCENT COUNT(l.id) AS 空余数量, dbo.t_node.name AS goodType, l.volType FROM dbo.t_wmsLocation AS l LEFT OUTER JOIN dbo.t_node ON l.goodsType = dbo.t_node.id WHERE (1 = 1) AND (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsStock WHERE (locationId = l.locationId))) GROUP BY l.goodsType, l.volType, dbo.t_node.name GO /****** Object: View [dbo].[v_tmsViechle] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsViechle] AS SELECT dbo.t_node.name AS volumeName, t_node_1.name AS loadName, t_node_2.name AS airConditionName, dbo.t_tmsViechle.id, dbo.t_tmsViechle.viechleId, dbo.t_tmsViechle.volume, dbo.t_tmsViechle.[load], dbo.t_tmsViechle.airCondition, dbo.t_tmsViechle.length, dbo.t_tmsViechle.width, dbo.t_tmsViechle.height, dbo.t_tmsViechle.weight, dbo.t_tmsViechle.owner, dbo.t_tmsViechle.driver, dbo.t_tmsViechle.state, dbo.t_tmsViechle.transOrder, dbo.t_tmsViechle.operater, dbo.t_tmsViechle.lastmodified, dbo.t_tmsViechle.createtime, dbo.t_tmsViechle.dr, dbo.t_tmsViechle.transState FROM dbo.t_tmsViechle LEFT OUTER JOIN dbo.t_node AS t_node_2 ON dbo.t_tmsViechle.airCondition = t_node_2.id LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_tmsViechle.[load] = t_node_1.id LEFT OUTER JOIN dbo.t_node ON dbo.t_tmsViechle.volume = dbo.t_node.id GO /****** Object: View [dbo].[v_tmsTranReqest] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsTranReqest] AS SELECT dbo.t_tmsTranRequest.id, dbo.t_tmsTranRequest.transNo, dbo.t_tmsTranRequest.lineId, dbo.t_tmsTranRequest.tranType, dbo.t_tmsTranRequest.viechleNo, dbo.t_tmsTranRequest.contact, dbo.t_tmsTranRequest.driver, dbo.t_tmsTranRequest.phone, dbo.t_tmsTranRequest.state, dbo.t_tmsTranRequest.description, dbo.t_tmsTranRequest.thirdPart, dbo.t_tmsTranRequest.operater, dbo.t_tmsTranRequest.lastmodified, dbo.t_tmsTranRequest.createtime, dbo.t_tmsTranRequest.dr, dbo.t_node.name AS lineName, dbo.v_tmsViechle.volumeName, dbo.v_tmsViechle.loadName, dbo.v_tmsViechle.airConditionName, t_node_1.name AS thirdPartName, dbo.t_tmsTranRequest.sumVol, dbo.t_tmsTranRequest.sumWeight, dbo.t_tmsTranRequest.boxCnt, dbo.t_tmsTranRequest.bulkBox, dbo.t_tmsTranRequest.bulkBag FROM dbo.t_tmsTranRequest LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_tmsTranRequest.thirdPart = t_node_1.id LEFT OUTER JOIN dbo.v_tmsViechle ON dbo.t_tmsTranRequest.viechleNo = dbo.v_tmsViechle.viechleId LEFT OUTER JOIN dbo.t_node ON dbo.t_tmsTranRequest.lineId = dbo.t_node.id GO /****** Object: View [dbo].[v_tmsTranRequest4Wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsTranRequest4Wince] AS SELECT transNo AS 运单, bulkBox AS 拼箱, bulkBag AS 拼袋, lineName AS 线路, (CASE WHEN tranType = 0 THEN '配送' WHEN tranType = 1 THEN '三方' WHEN trantype = 2 THEN '自提' END) AS 类型, viechleNo AS 车牌, contact AS 联系人, phone AS 电话, driver AS 司机, thirdPartName AS 三方, boxCnt AS 整箱, sumWeight AS 总重, sumVol AS 体积, airConditionName AS 温控, transNo, state FROM dbo.v_tmsTranReqest GO /****** Object: View [dbo].[v_stockOutPort] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPort] AS SELECT dbo.t_wmsOutPickPort.id, dbo.t_wmsOutPickPort.pickOrderNo, dbo.t_wmsOutPickPort.waveOrder, dbo.t_wmsOutPickPort.recordId, dbo.t_wmsOutPickPort.count, FLOOR(dbo.t_wmsOutPickPort.count / dbo.v_wmsGoods.bigCount) AS boxcnt, dbo.t_wmsOutPickPort.locationId, dbo.t_wmsOutPickPort.state, dbo.t_wmsOutPickPort.pickCount, dbo.t_wmsOutPickPort.description, dbo.t_wmsOutPickPort.operater, dbo.t_wmsOutPickPort.dr, dbo.t_wmsOutPickPort.createtime, dbo.t_wmsOutPickPort.lastmodified, dbo.t_wmsStockRecord.batch, dbo.t_wmsStockRecord.productDate, dbo.t_wmsStockRecord.validDate, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.type, dbo.v_wmsGoods.bulkMax, dbo.v_wmsGoods.bulkMax1, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.batchMax2, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.batchPickState, dbo.t_wmsStockRecord.regeditCode, dbo.t_wmsOutPickRequest.customerId, dbo.t_wmsStockRecord.goodsId, dbo.t_wmsOutPickRequest.orderType, dbo.t_wmsOutPickRequest.orderDate, dbo.t_wmsOutPickPort.tranLocationId, dbo.t_wmsOutPickRequest.custAddress, dbo.t_wmsOutPickPort.volType, dbo.t_wmsStockRecord.rectype FROM dbo.t_wmsOutPickPort LEFT OUTER JOIN dbo.t_wmsStockRecord ON dbo.t_wmsOutPickPort.recordId = dbo.t_wmsStockRecord.id LEFT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_wmsOutPickPort.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsStockRecord.goodsId = dbo.v_wmsGoods.goodsId WHERE (dbo.t_wmsStockRecord.rectype = 1) OR (dbo.t_wmsStockRecord.rectype = 2) GO /****** Object: View [dbo].[v_stockOutBatchPickDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutBatchPickDetail] AS SELECT id, pickOrderNo, waveOrder, recordId, count, boxcnt, locationId, state, pickCount, description, operater, dr, createtime, lastmodified, batch, productDate, validDate, goodsName, manufacturer, spec, unit, bigCount, BarCode, goodsTypeName, type, bulkMax, bulkMax1, batchMax1, batchMax2, customerName, batchPickState, regeditCode, customerId, goodsId, orderType, orderDate, tranLocationId, custAddress, volType FROM dbo.v_stockOutPort WHERE (volType > 0) GO /****** Object: View [dbo].[v_tmsPickRequestBulks] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsPickRequestBulks] AS SELECT dbo.t_tmsStock.id, dbo.t_wmsOutPickRequest.transNo, dbo.t_wmsOutPickRequest.customerId, dbo.t_tmsStock.pickOrderNo, dbo.t_tmsStock.locationId, dbo.t_wmsLocation.volType, dbo.t_tmsStock.count, dbo.t_tmsStock.state, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.custAddress, dbo.t_tmsStock.operater, dbo.v_customer.phone1, dbo.v_tmsLineDetail.name AS lineName, dbo.v_tmsLineDetail.lineOrder, dbo.t_wmsOutPickRequest.bulkBag, dbo.t_wmsOutPickRequest.bulkBox, dbo.t_wmsOutPickRequest.bulkCnt, dbo.t_wmsOutPickRequest.boxCnt FROM dbo.t_tmsStock LEFT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_tmsStock.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo LEFT OUTER JOIN dbo.v_tmsLineDetail ON dbo.t_wmsOutPickRequest.customerId = dbo.v_tmsLineDetail.custId LEFT OUTER JOIN dbo.v_customer ON dbo.t_wmsOutPickRequest.customerId = dbo.v_customer.custId LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.t_tmsStock.locationId = dbo.t_wmsLocation.locationId GO /****** Object: View [dbo].[v_tmsTranRequestBulks4wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsTranRequestBulks4wince] AS SELECT id, locationId AS 货位, count AS 数量, (CASE WHEN voltype = 4 THEN '拼箱' WHEN voltype = '5' THEN '拼袋' END) AS 类型, transNo AS 运单, pickOrderNo AS 拣货单, customerName AS 客户, custAddress AS 客户地址 FROM dbo.v_tmsPickRequestBulks GO /****** Object: View [dbo].[v_tmsTranRequestDetail4wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsTranRequestDetail4wince] AS SELECT dbo.t_tmsTranRequestDetail.id, dbo.t_tmsTranRequestDetail.transNo AS 运单, dbo.t_tmsTranRequestDetail.pickOrderNo AS 分拣单, dbo.t_wmsOutPickRequest.boxCnt AS 整箱, dbo.t_wmsOutPickRequest.bulkBox AS 拼箱, dbo.t_wmsOutPickRequest.bulkBag AS 拼袋, dbo.v_stockOutPickVolumSum.sumVol AS 体积, dbo.v_stockOutPickVolumSum.sumWeight AS 重量, dbo.t_wmsOutPickRequest.customerName AS 客户, dbo.t_wmsOutPickRequest.custAddress AS 客户地址, (CASE WHEN t_tmsTranRequestDetail.state = 0 THEN '装车' WHEN t_tmsTranRequestDetail.state = 1 THEN '配送' WHEN t_tmsTranRequestDetail.state = 2 THEN '签收' END) AS 状态, dbo.t_tmsTranRequestDetail.state FROM dbo.t_tmsTranRequestDetail LEFT OUTER JOIN dbo.v_stockOutPickVolumSum ON dbo.t_tmsTranRequestDetail.pickOrderNo = dbo.v_stockOutPickVolumSum.pickOrderNo LEFT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_tmsTranRequestDetail.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo GO /****** Object: View [dbo].[v_stockOutRequestDetailLog] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutRequestDetailLog] AS SELECT DISTINCT dbo.t_wmsOutDetail.orderNo, dbo.v_wmsGoods.goodsName, dbo.t_wmsOutDetail.goodsId, dbo.t_wmsOutDetail.batch, dbo.t_wmsOutDetail.count, dbo.t_wmsOutDetail.boxcnt, dbo.t_wmsOutLog.pickOrderNo, dbo.t_wmsOutLog.orderState, dbo.t_wmsOutLog.pickState, deiniuPlatform.dbo.t_Employee.em_name, dbo.t_wmsOutLog.lastmodified FROM dbo.t_wmsOutDetail INNER JOIN dbo.t_wmsOutRequest ON dbo.t_wmsOutDetail.orderNo = dbo.t_wmsOutRequest.orderNo LEFT OUTER JOIN dbo.t_wmsOutLog ON dbo.t_wmsOutRequest.pickOrderNo = dbo.t_wmsOutLog.pickOrderNo LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutDetail.goodsId = dbo.v_wmsGoods.goodsId LEFT OUTER JOIN deiniuPlatform.dbo.t_Employee ON dbo.t_wmsOutLog.operater = deiniuPlatform.dbo.t_Employee.id GO /****** Object: View [dbo].[v_stockOutBulkInCurrentWave] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutBulkInCurrentWave] AS SELECT dbo.t_wmsOutPickLable_tmp.id, dbo.t_wmsOutPickLable_tmp.pickOrderNo, dbo.t_wmsOutPickLable_tmp.waveOrder, dbo.t_wmsOutPickLable_tmp.recordId, dbo.t_wmsOutPickLable_tmp.count, dbo.t_wmsOutPickLable_tmp.locationId, dbo.t_wmsOutPickLable_tmp.elabId, dbo.t_wmsOutPickLable_tmp.port, dbo.t_wmsOutPickLable_tmp.elabAddress, dbo.t_wmsOutPickLable_tmp.state, dbo.t_wmsOutPickLable_tmp.pickCount, dbo.t_wmsOutPickLable_tmp.description, dbo.t_wmsOutPickLable_tmp.operater, dbo.t_wmsOutPickLable_tmp.dr, dbo.t_wmsOutPickLable_tmp.createtime, dbo.t_wmsOutPickLable_tmp.lastmodified, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.drug_code, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.goodsTypeName, dbo.t_wmsOutDesk.deskName AS colorName, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.customerId, dbo.t_wmsStockRecord.productDate, dbo.t_wmsStockRecord.validDate, dbo.t_wmsStockRecord.batch, dbo.t_wmsStockRecord.goodsId, dbo.t_wmsOutPickLable_tmp.color, 0 AS isLightUp, 0 AS isPicked, dbo.v_wmsGoods.type FROM dbo.t_wmsOutPickLable_tmp LEFT OUTER JOIN dbo.t_wmsStockRecord ON dbo.t_wmsOutPickLable_tmp.recordId = dbo.t_wmsStockRecord.id LEFT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_wmsOutPickLable_tmp.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo AND dbo.t_wmsOutPickLable_tmp.waveOrder = dbo.t_wmsOutPickRequest.waveOrder LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsStockRecord.goodsId = dbo.v_wmsGoods.goodsId LEFT OUTER JOIN dbo.t_wmsOutDesk ON dbo.t_wmsOutPickLable_tmp.color = dbo.t_wmsOutDesk.color GO /****** Object: View [dbo].[v_stockOutWavePickDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutWavePickDetail] AS SELECT dbo.t_wmsOutPickRequest.waveOrder, dbo.t_wmsOutPickRequest.pickOrderNo, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.drug_code, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.type, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.customerId, dbo.t_wmsStockRecord.count, dbo.t_wmsStockRecord.locationId, dbo.t_wmsStockRecord.batch, dbo.t_wmsStockRecord.goodsId, dbo.t_wmsStockRecord.validDate, dbo.t_wmsStockRecord.productDate, dbo.t_wmsLocation.volType, dbo.t_wmsLocation.elabId, dbo.t_wmsLocation.elabAddress, dbo.t_wmsStockRecord.id, dbo.t_wmsOutPickRequest.batchPickState, dbo.t_wmsOutPickRequest.state, dbo.t_wmsOutPickRequest.bulkPickState, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.batchMax2, dbo.v_wmsGoods.batchMax3, dbo.v_wmsGoods.batchMax4, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.bigCount, dbo.t_wmsStockRecord.id128, dbo.t_wmsStockRecord.countOuting FROM dbo.t_wmsOutPickRequest LEFT OUTER JOIN dbo.t_wmsStockRecord ON dbo.t_wmsOutPickRequest.pickOrderNo = dbo.t_wmsStockRecord.orderNo LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.t_wmsStockRecord.locationId = dbo.t_wmsLocation.locationId LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsStockRecord.goodsId = dbo.v_wmsGoods.goodsId WHERE (dbo.t_wmsOutPickRequest.state <= 7) AND (dbo.t_wmsOutPickRequest.state >= 4) GO /****** Object: View [dbo].[v_stockGoods] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoods] AS SELECT dbo.t_wmsLocation.elabId, dbo.t_wmsLocation.elabAddress, dbo.t_wmsLocation.port, dbo.v_wmsGoods.bulkMax, dbo.v_wmsGoods.bulkMax1, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.batchMax2, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.bigCount, dbo.t_wmsStock.id, dbo.t_wmsStock.goodsId, dbo.t_wmsStock.batch, dbo.t_wmsStock.locationId, dbo.t_wmsStock.productDate, dbo.t_wmsStock.validDate, dbo.t_wmsStock.validationTerm, dbo.t_wmsStock.count, dbo.t_wmsStock.count - dbo.t_wmsStock.countOut AS avCount, CONVERT(decimal(18, 2), (dbo.t_wmsStock.count - dbo.t_wmsStock.countOut) / dbo.v_wmsGoods.bigCount) AS boxcnt, CONVERT(decimal(18, 2), ISNULL(dbo.t_wmsStock.countOuting, 0) / dbo.v_wmsGoods.bigCount) AS outingBoxcnt, CONVERT(decimal(18, 2), ISNULL(dbo.t_wmsStock.countIn, 0) / dbo.v_wmsGoods.bigCount) AS inBoxcnt, dbo.t_wmsStock.countIn, dbo.t_wmsStock.countOut, dbo.t_wmsStock.countLock, dbo.t_wmsStock.countOuting, dbo.t_wmsStock.operater, dbo.t_wmsStock.lastmodified, dbo.t_wmsStock.createtime, dbo.t_wmsStock.dr, dbo.t_wmsLocation.whVolType, dbo.t_wmsLocation.volType, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.goodsType, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.drug_code, dbo.t_wmsLocation.whType, dbo.t_wmsLocation.state AS locState, dbo.t_wmsStock.state, dbo.t_wmsLocation.warehouse, dbo.v_wmsGoods.batchMax3, dbo.v_wmsGoods.type, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.part, dbo.t_wmsStock.maintainDate, dbo.v_wmsGoods.pinYin, dbo.v_wmsGoods.CurCycle, dbo.v_wmsGoods.IsDouChk, dbo.v_wmsGoods.repTypeName, dbo.v_wmsGoods.repType, CONVERT(decimal(8, 2), ISNULL(dbo.t_node.value, 0)) AS repPercent FROM dbo.t_wmsStock INNER JOIN dbo.t_wmsLocation ON dbo.t_wmsStock.locationId = dbo.t_wmsLocation.locationId INNER JOIN dbo.v_wmsGoods ON dbo.t_wmsStock.goodsId = dbo.v_wmsGoods.goodsId LEFT OUTER JOIN dbo.t_node ON dbo.v_wmsGoods.repType = dbo.t_node.id WHERE (dbo.t_wmsStock.state IN (0, 1)) AND (dbo.t_wmsLocation.state IN (0, 1)) AND (dbo.t_wmsLocation.whType = 0) GO /****** Object: View [dbo].[v_stockOutPickDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickDetail] AS SELECT dbo.t_wmsOutPickDetail.id, dbo.t_wmsOutPickDetail.pickOrderNo, dbo.t_wmsOutPickDetail.customerId, dbo.t_wmsOutPickDetail.customerName, dbo.t_wmsOutPickDetail.goodsId, dbo.t_wmsOutPickDetail.batch, dbo.t_wmsOutPickDetail.count, dbo.t_wmsOutPickDetail.bulkCount, dbo.t_wmsOutPickDetail.batch1Count, dbo.t_wmsOutPickDetail.batch2Count, dbo.t_wmsOutPickDetail.boxcnt, dbo.t_wmsOutPickDetail.productDate, dbo.t_wmsOutPickDetail.validDate, dbo.t_wmsOutPickDetail.state, dbo.t_wmsOutPickDetail.whtype, dbo.t_wmsOutPickDetail.description, dbo.t_wmsOutPickDetail.confirmedCount, dbo.t_wmsOutPickDetail.checkedBy, dbo.t_wmsOutPickDetail.validReason, dbo.t_wmsOutPickDetail.validSolution, dbo.t_wmsOutPickDetail.validRemark, dbo.t_wmsOutPickDetail.solutionRemark, dbo.t_wmsOutPickDetail.checkedTime, dbo.t_wmsOutPickDetail.operater, dbo.t_wmsOutPickDetail.dr, dbo.t_wmsOutPickDetail.createtime, dbo.t_wmsOutPickDetail.lastmodified, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.address, dbo.v_wmsGoods.barCode, dbo.v_wmsGoods.type, dbo.t_wmsOutPickDetail.batchPickState, dbo.t_wmsOutPickDetail.bulkPickState, dbo.v_wmsGoods.bulkMax, dbo.v_wmsGoods.bulkMax1, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.batchMax2, dbo.v_wmsGoods.goodsTypeName, dbo.t_wmsOutPickDetail.custAddress FROM dbo.t_wmsOutPickDetail INNER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutPickDetail.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_reportStockRecord] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_reportStockRecord] AS SELECT a.id, a.id128 AS locationCode, a.orderNo, a.goodsId, a.batch, a.locationId, a.count, a.validDate, a.productDate, a.description, a.operater, a.lastmodified, a.createtime, a.dr, b.bigCount, b.unit, b.spec, b.manufacturer, b.goodsName, CAST(a.count / b.bigCount AS decimal(18, 2)) AS box, b.type, b.regeditCode, a.rectype, a.count1, b.BarCode, b.goodsTypeName, b.bulkMax, b.batchMax1, b.batchMax2, a.countIn, a.countOuting FROM dbo.t_wmsStockRecord AS a LEFT OUTER JOIN dbo.v_wmsGoods AS b ON a.goodsId = b.goodsId GO /****** Object: View [dbo].[v_stockInRequest_Available] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequest_Available] AS SELECT orderNo, orderTypeName, customID, orderDate, entid, orgid, remark AS DESCRIPTION, state, owner, vender FROM custErp.dbo.v_stockInRequest AS a WHERE (state = 0 OR state = 1) AND (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsInRequest WHERE (orderNo = a.orderNo))) GO /****** Object: View [dbo].[v_stockInRequestDetail_Available] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail_Available] AS SELECT dbo.v_stockInRequest_Available.orderNo, a.GoodsName AS goodsName, a.spec, a.unit, a.type, a.regeditCode, a.bigCount, a.middleCount, a.address, a.station, a.Weight, a.drug_code, a.IsDouChk, a.BarCode, a.CurCycle, a.Isimport, a.goodsId, a.batch, a.productDate, a.validDate, a.Manufacturer AS manufacturer, a.price, SUM(a.count) AS count FROM custErp.dbo.v_stockInRequestDetail AS a INNER JOIN dbo.v_stockInRequest_Available ON a.orderNo = dbo.v_stockInRequest_Available.orderNo GROUP BY dbo.v_stockInRequest_Available.orderNo, a.GoodsName, a.spec, a.unit, a.type, a.regeditCode, a.bigCount, a.middleCount, a.address, a.station, a.Weight, a.drug_code, a.IsDouChk, a.BarCode, a.CurCycle, a.Isimport, a.goodsId, a.batch, a.productDate, a.validDate, a.state, a.Manufacturer, a.price GO /****** Object: View [dbo].[v_stockOutBatchPickDetail4Wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutBatchPickDetail4Wince] AS SELECT goodsName AS 商品, count - pickCount AS 数量, FLOOR((count - pickCount) / bigCount) AS 件, (CASE WHEN state = 0 THEN '未拣' WHEN state = '1' THEN '已拣' WHEN state = '2' THEN '已复核' END) AS 状态, locationId AS 货位, batch AS 批号, goodsTypeName AS 商品类别, manufacturer AS 厂家, pickOrderNo, state, orderType, id, orderDate, pickCount, goodsId, barCode FROM dbo.v_stockOutBatchPickDetail GO /****** Object: View [dbo].[v_stockInRequestDetail_Available_good] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail_Available_good] AS SELECT orderNo, GoodsName, spec, unit, type, regeditCode, bigCount, middleCount, address, station, Weight, drug_code, IsDouChk, BarCode, CurCycle, Isimport, goodsId, batch, productDate, Manufacturer, price, validDate, count FROM dbo.v_stockInRequestDetail_Available AS a WHERE (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.v_stockInRequestDetail_Available AS b WHERE (orderNo = a.orderNo) GROUP BY goodsId, batch HAVING (COUNT(1) > 1))) GO /****** Object: View [dbo].[v_stockInRequestDetail_Available_bad] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail_Available_bad] AS SELECT a.orderNo, a.goodsName, a.spec, a.unit, a.type, a.regeditCode, a.bigCount, a.middleCount, a.address, a.station, a.Weight, a.drug_code, a.IsDouChk, a.BarCode, a.CurCycle, a.Isimport, a.goodsId, a.batch, a.productDate, a.manufacturer, a.price, a.validDate, a.count AS cnt, dbo.v_wmsGoods.full_max, dbo.v_wmsGoods.bulkMax, dbo.v_wmsGoods.bulkMax1, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.batchMax2, dbo.v_wmsGoods.batchMax3, dbo.v_wmsGoods.batchMax4, dbo.v_wmsGoods.length, dbo.v_wmsGoods.height, dbo.v_wmsGoods.width, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.manufacturer AS Expr1, dbo.v_wmsGoods.spec AS Expr2, dbo.v_wmsGoods.unit AS Expr3, dbo.v_wmsGoods.regeditCode AS Expr4 FROM dbo.v_stockInRequestDetail_Available AS a LEFT OUTER JOIN dbo.v_wmsGoods ON a.goodsId = dbo.v_wmsGoods.goodsId WHERE EXISTS (SELECT 1 AS Expr1 FROM dbo.v_stockInRequestDetail_Available AS b WHERE (orderNo = a.orderNo) GROUP BY goodsId, batch HAVING (COUNT(1) > 1)) GO /****** Object: View [dbo].[v_stockInRequest_Available_bad] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequest_Available_bad] AS SELECT orderNo, orderTypeName, customID, orderDate, entid, orgid, DESCRIPTION, state, owner, vender FROM dbo.v_stockInRequest_Available AS a WHERE EXISTS (SELECT 1 AS Expr1 FROM dbo.v_stockInRequestDetail_Available AS b WHERE (orderNo = a.orderNo) GROUP BY goodsId, batch HAVING (COUNT(1) > 1)) GO /****** Object: View [dbo].[v_stockInRequest_Available_good] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequest_Available_good] AS SELECT orderNo, orderTypeName, customID, orderDate, entid, orgid, DESCRIPTION, state, owner, vender FROM dbo.v_stockInRequest_Available AS a WHERE (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.v_stockInRequestDetail_Available AS b WHERE (orderNo = a.orderNo) GROUP BY goodsId, batch HAVING (COUNT(1) > 1))) GO /****** Object: View [dbo].[v_wmsStockByGoodsBatch] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_wmsStockByGoodsBatch] AS SELECT goodsId, batch, SUM(avCount) AS avcount, productDate, validDate, pinYin FROM dbo.v_stockGoods GROUP BY goodsId, batch, productDate, validDate, pinYin GO /****** Object: View [dbo].[v_wmsStockByGoodsBatchExt] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_wmsStockByGoodsBatchExt] AS SELECT dbo.v_wmsGoods.goodsName, dbo.v_wmsStockByGoodsBatch.goodsId, dbo.v_wmsStockByGoodsBatch.batch, dbo.v_wmsStockByGoodsBatch.avcount, CONVERT(decimal(18, 2), dbo.v_wmsStockByGoodsBatch.avcount / dbo.v_wmsGoods.bigCount) AS boxcnt, dbo.v_wmsStockByGoodsBatch.productDate, dbo.v_wmsStockByGoodsBatch.validDate, dbo.v_wmsGoods.manufacturer, dbo.v_wmsStockByGoodsBatch.pinYin FROM dbo.v_wmsStockByGoodsBatch LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.v_wmsStockByGoodsBatch.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_stockOutPickDetailValidation] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickDetailValidation] AS SELECT dbo.t_wmsOutPickDetail_tmp.desk, dbo.t_wmsOutPickDetail_tmp.orderState, dbo.t_wmsOutPickDetail_tmp.waveOrder, dbo.t_wmsOutPickDetail_tmp.seedsPickNo, dbo.t_wmsOutPickDetail_tmp.seedsPort, dbo.t_wmsOutPickDetail_tmp.id, dbo.t_wmsOutPickDetail_tmp.pickOrderNo, dbo.t_wmsOutPickDetail_tmp.customerId, dbo.t_wmsOutPickDetail_tmp.customerName, dbo.t_wmsOutPickDetail_tmp.goodsId, dbo.t_wmsOutPickDetail_tmp.batch, dbo.t_wmsOutPickDetail_tmp.count, dbo.t_wmsOutPickDetail_tmp.bulkCount, dbo.t_wmsOutPickDetail_tmp.batch1Count, dbo.t_wmsOutPickDetail_tmp.batch2Count, dbo.t_wmsOutPickDetail_tmp.boxcnt, dbo.t_wmsOutPickDetail_tmp.productDate, dbo.t_wmsOutPickDetail_tmp.validDate, dbo.t_wmsOutPickDetail_tmp.state, dbo.t_wmsOutPickDetail_tmp.whtype, dbo.t_wmsOutPickDetail_tmp.description, dbo.t_wmsOutPickDetail_tmp.confirmedCount, dbo.t_wmsOutPickDetail_tmp.checkedBy, dbo.t_wmsOutPickDetail_tmp.validRemark, dbo.t_wmsOutPickDetail_tmp.validReason, dbo.t_wmsOutPickDetail_tmp.checkedTime, dbo.t_wmsOutPickDetail_tmp.operater, dbo.t_wmsOutPickDetail_tmp.dr, dbo.t_wmsOutPickDetail_tmp.createtime, dbo.t_wmsOutPickDetail_tmp.lastmodified, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.drug_code, dbo.v_wmsGoods.type, dbo.v_wmsGoods.Isimport, dbo.v_wmsGoods.goodsTypeName, dbo.t_wmsOutPickDetail_tmp.solutionRemark, dbo.t_wmsOutPickDetail_tmp.validSolution, t_node_1.name AS validResult, dbo.t_node.name AS solution, dbo.t_wmsOutPickDetail_tmp.bulkPickState, dbo.t_wmsOutPickDetail_tmp.batchPickState, dbo.t_wmsOutPickDetail_tmp.custAddress, dbo.t_wmsOutPickDetail_tmp.seedsLabelId FROM dbo.t_wmsOutPickDetail_tmp LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_wmsOutPickDetail_tmp.validReason = t_node_1.id LEFT OUTER JOIN dbo.t_node ON dbo.t_wmsOutPickDetail_tmp.validSolution = dbo.t_node.id LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutPickDetail_tmp.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_stockOutPickSeedsGoodsSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickSeedsGoodsSum] AS SELECT seedsPickNo, goodsId, batch, SUM(bulkCount) AS bulkcount, orderState, desk FROM dbo.t_wmsOutPickDetail_tmp WHERE (seedsPickNo IS NOT NULL) GROUP BY seedsPickNo, goodsId, batch, orderState, desk GO /****** Object: View [dbo].[v_stockOutPickDetailSeeds_to_delete] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickDetailSeeds_to_delete] AS SELECT dbo.v_stockOutPickSeedsGoodsSum.seedsPickNo, dbo.v_stockOutPickSeedsGoodsSum.goodsId, dbo.v_stockOutPickSeedsGoodsSum.batch, dbo.v_stockOutPickSeedsGoodsSum.bulkcount, dbo.v_stockOutPickSeedsGoodsSum.orderState, dbo.v_stockOutPickSeedsGoodsSum.desk, dbo.v_stockOutPickDetailValidation.productDate, dbo.v_stockOutPickDetailValidation.validDate, dbo.v_stockOutPickDetailValidation.confirmedCount, dbo.v_stockOutPickDetailValidation.description, dbo.v_stockOutPickDetailValidation.validRemark, dbo.v_stockOutPickDetailValidation.validReason, dbo.v_stockOutPickDetailValidation.goodsName, dbo.v_stockOutPickDetailValidation.manufacturer, dbo.v_stockOutPickDetailValidation.spec, dbo.v_stockOutPickDetailValidation.unit, dbo.v_stockOutPickDetailValidation.regeditCode, dbo.v_stockOutPickDetailValidation.BarCode, dbo.v_stockOutPickDetailValidation.type, dbo.v_stockOutPickDetailValidation.solutionRemark, dbo.v_stockOutPickDetailValidation.validSolution, dbo.v_stockOutPickDetailValidation.validResult, dbo.v_stockOutPickDetailValidation.solution, dbo.v_stockOutPickDetailValidation.bulkPickState FROM dbo.v_stockOutPickSeedsGoodsSum LEFT OUTER JOIN dbo.v_stockOutPickDetailValidation ON dbo.v_stockOutPickSeedsGoodsSum.batch = dbo.v_stockOutPickDetailValidation.batch AND dbo.v_stockOutPickSeedsGoodsSum.goodsId = dbo.v_stockOutPickDetailValidation.goodsId AND dbo.v_stockOutPickDetailValidation.seedsPickNo = dbo.v_stockOutPickSeedsGoodsSum.seedsPickNo GO /****** Object: View [dbo].[v_erpGoodsBalance] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_erpGoodsBalance] AS SELECT EntId, GoodsId, batch, count, erpBoxcnt, validDate, productDate, BarCode, GoodsName, Manufacturer, pinYin FROM custErp.dbo.v_erpGoodsBalance AS v_erpGoodsBalance_1 GO /****** Object: View [dbo].[v_wmsStockVSerp] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_wmsStockVSerp] AS SELECT w.*, 0 AS erpCount, 0 AS erpBoxcnt, 'ERP无库存' as flag FROM [v_wmsStockByGoodsBatchExt] w WHERE NOT EXISTS (SELECT 1 FROM v_erpGoodsBalance e WHERE e.goodsId = w.goodsid) UNION ALL SELECT w.*, e.count AS erpCount, e.erpBoxcnt, '库存不一致' as flag FROM [v_wmsStockByGoodsBatchExt] w INNER JOIN v_erpGoodsBalance e ON e.goodsId = w.goodsid AND e.batch = w.batch WHERE w.avcount <> e.count UNION ALL SELECT goodsName, e.goodsId, e.batch, 0 AS avcount, 0 AS boxcnt, productDate, validDate, manufacturer,pinyin, e.count AS erpCount, erpBoxcnt, 'WMS无库存' as flag FROM v_erpGoodsBalance e WHERE count > 0 AND NOT EXISTS (SELECT 1 FROM [v_wmsStockByGoodsBatchExt] w WHERE goodsId = e.goodsid); GO /****** Object: View [dbo].[v_tmsPickRequestBatchDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsPickRequestBatchDetail] AS SELECT dbo.t_wmsOutPickRequest.transNo, dbo.t_wmsOutPickRequest.pickOrderNo, dbo.t_wmsOutPickRequest.tranLocationId, dbo.t_wmsOutPickRequest.batchPickState, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.t_wmsStockRecord.batch, dbo.t_wmsStockRecord.count / dbo.v_wmsGoods.bigCount AS boxCnt, dbo.v_wmsGoods.chang, dbo.v_wmsGoods.kuan, dbo.v_wmsGoods.gao, dbo.v_wmsGoods.weight, dbo.t_wmsStockRecord.goodsId, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.bigCount, dbo.t_wmsStockRecord.count FROM dbo.t_wmsStockRecord LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsStockRecord.goodsId = dbo.v_wmsGoods.goodsId RIGHT OUTER JOIN dbo.t_wmsOutPickPort ON dbo.t_wmsStockRecord.id = dbo.t_wmsOutPickPort.recordId RIGHT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_wmsOutPickPort.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo GO /****** Object: View [dbo].[v_tmsPickRequestBatchSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO /****** Script for SelectTopNRows command from SSMS ******/ CREATE VIEW [dbo].[v_tmsPickRequestBatchSum] AS SELECT dbo.v_tmsPickRequestBatchDetail.transNo, dbo.v_tmsPickRequestBatchDetail.pickOrderNo, dbo.v_tmsPickRequestBatchDetail.tranLocationId, dbo.v_tmsPickRequestBatchDetail.batchPickState, dbo.v_tmsPickRequestBatchDetail.goodsId, dbo.v_tmsPickRequestBatchDetail.goodsName, dbo.v_tmsPickRequestBatchDetail.manufacturer, dbo.v_tmsPickRequestBatchDetail.batch, dbo.v_tmsPickRequestBatchDetail.chang, dbo.v_tmsPickRequestBatchDetail.kuan, dbo.v_tmsPickRequestBatchDetail.gao, dbo.v_tmsPickRequestBatchDetail.weight, SUM(dbo.v_tmsPickRequestBatchDetail.count) AS count, CONVERT(decimal(8, 0), SUM(dbo.v_tmsPickRequestBatchDetail.boxCnt)) AS boxCnt, dbo.v_tmsPickRequestBatchDetail.unit, dbo.v_tmsPickRequestBatchDetail.bigCount, dbo.t_wmsLocation.volType FROM dbo.v_tmsPickRequestBatchDetail LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.v_tmsPickRequestBatchDetail.tranLocationId = dbo.t_wmsLocation.locationId GROUP BY dbo.v_tmsPickRequestBatchDetail.pickOrderNo, dbo.v_tmsPickRequestBatchDetail.tranLocationId, dbo.v_tmsPickRequestBatchDetail.batchPickState, dbo.v_tmsPickRequestBatchDetail.goodsId, dbo.v_tmsPickRequestBatchDetail.goodsName, dbo.v_tmsPickRequestBatchDetail.manufacturer, dbo.v_tmsPickRequestBatchDetail.batch, dbo.v_tmsPickRequestBatchDetail.chang, dbo.v_tmsPickRequestBatchDetail.kuan, dbo.v_tmsPickRequestBatchDetail.gao, dbo.v_tmsPickRequestBatchDetail.weight, dbo.v_tmsPickRequestBatchDetail.unit, dbo.v_tmsPickRequestBatchDetail.bigCount, dbo.t_wmsLocation.volType, dbo.v_tmsPickRequestBatchDetail.transNo GO /****** Object: View [dbo].[v_stockOutLablePickDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutLablePickDetail] AS SELECT dbo.t_wmsStockRecord.goodsId, dbo.t_wmsStockRecord.batch, dbo.t_wmsOutPickLable.pickOrderNo, dbo.t_wmsOutPickRequest.waveOrder, dbo.t_wmsStockRecord.count, dbo.t_wmsOutDesk.deskName, dbo.t_wmsOutDesk.color, dbo.t_wmsOutPickLable.state, dbo.t_wmsStockRecord.productDate, dbo.t_wmsStockRecord.validDate, dbo.t_wmsOutPickLable.recordId, dbo.t_wmsOutPickLable.port, dbo.t_wmsOutPickLable.locationId, dbo.t_wmsOutPickLable.pickCount, dbo.t_wmsOutPickLable.elabId, dbo.t_wmsOutPickLable.elabAddress FROM dbo.t_wmsStockRecord INNER JOIN dbo.t_wmsOutPickLable ON dbo.t_wmsStockRecord.id = dbo.t_wmsOutPickLable.recordId INNER JOIN dbo.t_wmsOutDesk INNER JOIN dbo.t_wmsOutPickRequest ON dbo.t_wmsOutDesk.id = dbo.t_wmsOutPickRequest.desk ON dbo.t_wmsOutPickLable.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo GO /****** Object: View [dbo].[v_stockOutCheckDetail] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutCheckDetail] AS SELECT dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.barCode, SUM(dbo.v_stockOutLablePickDetail.count) AS count, dbo.v_stockOutLablePickDetail.productDate, dbo.v_stockOutLablePickDetail.validDate, dbo.v_stockOutLablePickDetail.deskName FROM dbo.v_wmsGoods INNER JOIN dbo.v_stockOutLablePickDetail ON dbo.v_wmsGoods.goodsId = dbo.v_stockOutLablePickDetail.goodsId GROUP BY dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.barCode, dbo.v_stockOutLablePickDetail.productDate, dbo.v_stockOutLablePickDetail.validDate, dbo.v_stockOutLablePickDetail.deskName GO /****** Object: View [dbo].[v_reportStockRecordDownList4Up4winCE] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_reportStockRecordDownList4Up4winCE] AS SELECT id, goodsName AS 商品, batch AS 批号, count - count1 AS 数量, locationId AS 原货位, goodsTypeName AS 商品类别, goodsId AS 商品编码, validDate AS 失效日期, productDate AS 生产日期, bigCount AS 大包装, unit AS 单位, spec AS 规格, manufacturer AS 厂家, description, operater, lastmodified, createtime, dr, box, regeditCode, rectype, count1, barCode FROM dbo.v_reportStockRecord WHERE (rectype = 6) AND (count - count1 > 0) GO /****** Object: View [dbo].[v_reportStockRecordUpDown4winCE] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_reportStockRecordUpDown4winCE] AS SELECT id, goodsId AS 商品编码, batch AS 批号, locationId AS 货位, count - count1 AS 数量, validDate AS 失效日期, productDate AS 生产日期, description, operater, lastmodified, createtime, dr, bigCount AS 大包装, unit AS 单位, spec AS 规格, manufacturer AS 厂家, goodsName AS 商品名称, box, type AS 剂型, regeditCode, rectype, count1 FROM dbo.v_reportStockRecord WHERE (rectype = 6) AND (count - count1 > 0) GO /****** Object: View [dbo].[v_employee] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_employee] AS SELECT id, em_name, em_sex, em_birthday, em_education, em_dept, em_jobcode, em_politic, em_date_in_party, em_date_work, em_idnum, em_cellnum, em_email, em_account, em_passwd, em_profile, token, dr, operater, create_time, lastmodified, em_isOnline FROM deiniuPlatform.dbo.t_Employee GO /****** Object: View [dbo].[v_stockMaintainRecord] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockMaintainRecord] AS SELECT dbo.t_wmsStockMaintain.id, dbo.t_wmsStockMaintain.goodsId, dbo.t_wmsStockMaintain.batch, dbo.t_wmsStockMaintain.locationId, dbo.t_wmsStockMaintain.productDate, dbo.t_wmsStockMaintain.validDate, dbo.t_wmsStockMaintain.count, dbo.t_wmsStockMaintain.mcount, dbo.t_wmsStockMaintain.issueCount, dbo.t_wmsStockMaintain.issueType, dbo.t_wmsStockMaintain.details, dbo.t_wmsStockMaintain.description, dbo.t_wmsStockMaintain.operater, dbo.t_wmsStockMaintain.lastmodified, dbo.t_wmsStockMaintain.createtime, dbo.t_wmsStockMaintain.dr, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.isDouChk, dbo.v_wmsGoods.curCycle, dbo.v_wmsGoods.pinYin, dbo.v_wmsGoods.type, dbo.v_employee.em_name FROM dbo.t_wmsStockMaintain LEFT OUTER JOIN dbo.v_employee ON dbo.t_wmsStockMaintain.operater = dbo.v_employee.id LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsStockMaintain.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_stockInRequestDetail_wms] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail_wms] AS SELECT dbo.t_wmsInRequestDetail.id, dbo.t_wmsInRequestDetail.orderNo, dbo.t_wmsInRequestDetail.goodsId, dbo.t_wmsInRequestDetail.cnt, dbo.t_wmsInRequestDetail.countIn, dbo.t_wmsInRequestDetail.state, dbo.t_wmsInRequestDetail.description, dbo.t_wmsInRequestDetail.operater, dbo.v_wmsGoods.goodsType, dbo.v_wmsGoods.full_max, dbo.v_wmsGoods.bulkMax, dbo.v_wmsGoods.bulkMax1, dbo.v_wmsGoods.batchMax1, dbo.v_wmsGoods.length, dbo.v_wmsGoods.width, dbo.v_wmsGoods.height, dbo.v_wmsGoods.validTermDays, dbo.v_wmsGoods.goodsTypeName, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.address, dbo.v_wmsGoods.weight, dbo.v_wmsGoods.curCycle, dbo.t_wmsInRequestDetail.batch, dbo.t_wmsInRequestDetail.validDate, dbo.t_wmsInRequestDetail.productDate, dbo.t_wmsInRequestDetail.dr, dbo.t_wmsInRequestDetail.lastmodified, dbo.t_wmsInRequestDetail.createtime, dbo.v_wmsGoods.barCode, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.type, dbo.v_wmsGoods.batchMax2, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.regeditCode FROM dbo.t_wmsInRequestDetail LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsInRequestDetail.goodsId = dbo.v_wmsGoods.goodsId GO /****** Object: View [dbo].[v_stockOutValidationException] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutValidationException] AS SELECT dbo.t_wmsOutPickDetail_tmp.desk, dbo.t_wmsOutPickDetail_tmp.orderState, dbo.t_wmsOutPickDetail_tmp.waveOrder, dbo.t_wmsOutPickDetail_tmp.id, dbo.t_wmsOutPickDetail_tmp.pickOrderNo, dbo.t_wmsOutPickDetail_tmp.customerId, dbo.t_wmsOutPickDetail_tmp.customerName, dbo.t_wmsOutPickDetail_tmp.goodsId, dbo.t_wmsOutPickDetail_tmp.batch, dbo.t_wmsOutPickDetail_tmp.count, dbo.t_wmsOutPickDetail_tmp.bulkCount, dbo.t_wmsOutPickDetail_tmp.batch1Count, dbo.t_wmsOutPickDetail_tmp.batch2Count, dbo.t_wmsOutPickDetail_tmp.boxcnt, dbo.t_wmsOutPickDetail_tmp.productDate, dbo.t_wmsOutPickDetail_tmp.validDate, dbo.t_wmsOutPickDetail_tmp.state, dbo.t_wmsOutPickDetail_tmp.whtype, dbo.t_wmsOutPickDetail_tmp.description, dbo.t_wmsOutPickDetail_tmp.confirmedCount, dbo.t_wmsOutPickDetail_tmp.checkedBy, dbo.t_wmsOutPickDetail_tmp.validRemark, dbo.t_wmsOutPickDetail_tmp.validReason, dbo.t_wmsOutPickDetail_tmp.checkedTime, dbo.t_wmsOutPickDetail_tmp.operater, dbo.t_wmsOutPickDetail_tmp.dr, dbo.t_wmsOutPickDetail_tmp.createtime, dbo.t_wmsOutPickDetail_tmp.lastmodified, dbo.t_wmsStockRecord.locationId, dbo.t_wmsOutDesk.deskName AS color, dbo.t_wmsStockRecord.count AS pickCount, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.bigCount, dbo.v_wmsGoods.type, dbo.v_wmsGoods.barCode, t_node_1.name AS exception, t_node_1.description AS exceptionDesc, dbo.t_wmsOutPickDetail_tmp.validSolution, dbo.t_wmsOutPickDetail_tmp.solutionRemark, dbo.t_node.name AS solution, dbo.t_wmsOutPickDetail_tmp.bulkPickState, dbo.t_wmsOutPickDetail_tmp.batchPickState FROM dbo.t_wmsOutPickDetail_tmp LEFT OUTER JOIN dbo.t_node ON dbo.t_wmsOutPickDetail_tmp.validSolution = dbo.t_node.id LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_wmsOutPickDetail_tmp.validReason = t_node_1.id LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutPickDetail_tmp.goodsId = dbo.v_wmsGoods.goodsId LEFT OUTER JOIN dbo.t_wmsStockRecord ON dbo.t_wmsOutPickDetail_tmp.batch = dbo.t_wmsStockRecord.batch AND dbo.t_wmsOutPickDetail_tmp.goodsId = dbo.t_wmsStockRecord.goodsId AND dbo.t_wmsOutPickDetail_tmp.pickOrderNo = dbo.t_wmsStockRecord.orderNo LEFT OUTER JOIN dbo.t_wmsOutDesk ON dbo.t_wmsOutDesk.id = dbo.t_wmsOutPickDetail_tmp.desk WHERE (dbo.t_wmsOutPickDetail_tmp.bulkPickState = 3) OR (dbo.t_wmsOutPickDetail_tmp.bulkPickState = 4) GO /****** Object: View [dbo].[v_stockGoodsMaintain] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsMaintain] AS SELECT elabId, elabAddress, port, bulkMax, bulkMax1, batchMax1, batchMax2, goodsName, bigCount, id, goodsId, batch, locationId, productDate, validDate, validationTerm, count, avCount, boxcnt, countLock, countOut, operater, lastmodified, createtime, dr, whVolType, volType, goodsTypeName, goodsType, manufacturer, spec, unit, regeditCode, drug_code, whType, locState, state, warehouse, batchMax3, type, BarCode, part, maintainDate, pinYin, CurCycle, IsDouChk, CONVERT(datetime, validDate, 10) AS validDate2, DATEADD(day, CurCycle, ISNULL(maintainDate, DATEADD(day, - CurCycle, GETDATE()))) AS nextMainTainDate, countIn, countOuting FROM dbo.v_stockGoods GO /****** Object: View [dbo].[v_stockOutDetailByCust] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutDetailByCust] AS SELECT TOP (100) PERCENT a.customerId, b.goodsId, b.batch, SUM(b.count) AS count, SUM(b.count) - FLOOR(SUM(b.count) / c.bigCount) * c.bigCount AS bulkCount, FLOOR(SUM(b.count) / c.bigCount) * c.bigCount AS batch1Count, FLOOR(SUM(b.count) / c.bigCount) AS boxcnt, c.bigCount, a.customerName, b.whtype, b.productDate, b.validDate, GETDATE() AS lastmodified, 'true' AS dr, - 1 AS id, 0 AS batch2Count, '' AS pickOrderNo, 0 AS state, '' AS description, - 1 AS operater, GETDATE() AS createtime, a.custAddress FROM dbo.t_wmsOutRequest AS a INNER JOIN dbo.t_wmsOutDetail AS b ON a.orderNo = b.orderNo INNER JOIN dbo.v_wmsGoods AS c ON b.goodsId = c.goodsId WHERE (a.orderType = 0) AND (a.state = 1) AND (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsOutPickDetail WHERE (pickOrderNo = a.pickOrderNo))) GROUP BY a.customerId, b.goodsId, b.batch, c.bigCount, a.customerName, b.whtype, b.productDate, b.validDate, a.custAddress ORDER BY a.customerId GO /****** Object: View [dbo].[v_stockOutPickDetailSeeds] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickDetailSeeds] AS SELECT orderState, seedsPickNo, goodsId, batch, SUM(bulkCount) AS bulkCount, goodsName, manufacturer, spec, unit, BarCode, solutionRemark, validSolution, desk, SUM(confirmedCount) AS confirmedCount, validRemark, productDate, validDate, type, seedsPort FROM dbo.v_stockOutPickDetailValidation WHERE (seedsPickNo IS NOT NULL) AND (bulkCount > 0) GROUP BY orderState, seedsPickNo, goodsId, batch, goodsName, manufacturer, spec, unit, BarCode, solutionRemark, validSolution, desk, validRemark, productDate, validDate, type, seedsPort GO /****** Object: View [dbo].[v_location] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_location] AS SELECT dbo.t_wmsLocation.id, dbo.t_wmsLocation.locationId, dbo.t_wmsLocation.locationId128, dbo.t_wmsLocation.warehouse, dbo.t_wmsLocation.channel, dbo.t_wmsLocation.shelf, dbo.t_wmsLocation.layer, dbo.t_wmsLocation.col, dbo.t_wmsLocation.elabId, dbo.t_wmsLocation.elabAddress, dbo.t_wmsLocation.height, dbo.t_wmsLocation.width, dbo.t_wmsLocation.length, dbo.t_wmsLocation.weight, dbo.t_wmsLocation.port, dbo.t_wmsLocation.part, dbo.t_wmsLocation.bigPart, dbo.t_wmsLocation.goodsType, dbo.t_wmsLocation.whType, dbo.t_wmsLocation.whGoodsType, dbo.t_wmsLocation.whVolType, dbo.t_wmsLocation.volType, dbo.t_wmsLocation.state, dbo.t_wmsLocation.tranState, dbo.t_wmsLocation.operater, dbo.t_wmsLocation.lastmodified, dbo.t_wmsLocation.createtime, dbo.t_wmsLocation.dr, dbo.t_node.name AS whouseName, t_node_1.name AS goodsTypeName FROM dbo.t_wmsLocation LEFT OUTER JOIN dbo.t_node AS t_node_1 ON dbo.t_wmsLocation.goodsType = t_node_1.id LEFT OUTER JOIN dbo.t_node ON dbo.t_wmsLocation.warehouse = dbo.t_node.id GO /****** Object: View [dbo].[v_stockGoodsRepPickingSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsRepPickingSum] AS SELECT SUM(dbo.t_wmsOutPickDetail.count) AS repCount, SUM(dbo.t_wmsOutPickDetail.boxcnt) AS repBoxcnt, dbo.t_wmsOutPickDetail.goodsId, dbo.t_wmsOutPickDetail.batch, dbo.t_wmsOutPickDetail.productDate, dbo.t_wmsOutPickDetail.validDate FROM dbo.t_wmsOutPickDetail RIGHT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_wmsOutPickDetail.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo WHERE (dbo.t_wmsOutPickRequest.orderType = 1) AND (dbo.t_wmsOutPickDetail.batchPickState < 5) AND (dbo.t_wmsOutPickRequest.orderDate > GETDATE() - 1) GROUP BY dbo.t_wmsOutPickDetail.goodsId, dbo.t_wmsOutPickDetail.batch, dbo.t_wmsOutPickDetail.productDate, dbo.t_wmsOutPickDetail.validDate GO /****** Object: View [dbo].[v_stockGoodsRep] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsRep] AS SELECT dbo.v_stockGoodsRepPickingSum.repCount, dbo.v_stockGoodsRepPickingSum.repBoxcnt, dbo.v_stockGoods.elabId, dbo.v_stockGoods.elabAddress, dbo.v_stockGoods.port, dbo.v_stockGoods.bulkMax, dbo.v_stockGoods.bulkMax1, dbo.v_stockGoods.batchMax1, dbo.v_stockGoods.batchMax2, dbo.v_stockGoods.goodsName, dbo.v_stockGoods.bigCount, dbo.v_stockGoods.id, dbo.v_stockGoods.goodsId, dbo.v_stockGoods.batch, dbo.v_stockGoods.locationId, dbo.v_stockGoods.productDate, dbo.v_stockGoods.validDate, dbo.v_stockGoods.validationTerm, dbo.v_stockGoods.count, dbo.v_stockGoods.avCount, dbo.v_stockGoods.boxcnt, dbo.v_stockGoods.countLock, dbo.v_stockGoods.countOut, dbo.v_stockGoods.operater, dbo.v_stockGoods.lastmodified, dbo.v_stockGoods.createtime, dbo.v_stockGoods.dr, dbo.v_stockGoods.whVolType, dbo.v_stockGoods.volType, dbo.v_stockGoods.goodsTypeName, dbo.v_stockGoods.goodsType, dbo.v_stockGoods.manufacturer, dbo.v_stockGoods.spec, dbo.v_stockGoods.unit, dbo.v_stockGoods.regeditCode, dbo.v_stockGoods.drug_code, dbo.v_stockGoods.whType, dbo.v_stockGoods.locState, dbo.v_stockGoods.state, dbo.v_stockGoods.warehouse, dbo.v_stockGoods.batchMax3, dbo.v_stockGoods.type, dbo.v_stockGoods.BarCode, dbo.v_stockGoods.part, dbo.v_stockGoods.maintainDate, dbo.v_stockGoods.pinYin, dbo.v_stockGoods.CurCycle, dbo.v_stockGoods.IsDouChk, dbo.v_stockGoods.repTypeName, dbo.v_stockGoods.repType, dbo.v_stockGoods.repPercent, dbo.v_stockGoods.countOuting, dbo.v_stockGoods.countIn FROM dbo.v_stockGoods LEFT OUTER JOIN dbo.v_stockGoodsRepPickingSum ON dbo.v_stockGoods.goodsId = dbo.v_stockGoodsRepPickingSum.goodsId AND dbo.v_stockGoods.batch = dbo.v_stockGoodsRepPickingSum.batch GO /****** Object: View [dbo].[v_stockGoodsSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsSum] AS SELECT TOP (100) PERCENT goodsId, batch, SUM(avCount) AS avCount, SUM(boxcnt) AS boxcnt, SUM(countIn) AS countIn, SUM(inBoxcnt) AS inBoxcnt, SUM(countOuting) AS countOuting, SUM(outingBoxcnt) AS outingBoxcnt, goodsName, unit, goodsType, manufacturer, spec, regeditCode, whType, locState, state, type, BarCode, part, pinYin, repType, validDate, productDate, goodsTypeName, bigCount, bulkMax, repTypeName, repPercent FROM dbo.v_stockGoods GROUP BY goodsId, batch, goodsName, unit, goodsType, manufacturer, spec, regeditCode, whType, locState, state, type, BarCode, part, pinYin, repType, validDate, productDate, goodsTypeName, bigCount, bulkMax, repTypeName, repPercent ORDER BY goodsId, batch GO /****** Object: View [dbo].[v_stockGoodsSumRep] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsSumRep] AS SELECT dbo.v_stockGoodsSum.goodsId, dbo.v_stockGoodsSum.batch, dbo.v_stockGoodsSum.avCount, dbo.v_stockGoodsSum.boxcnt, dbo.v_stockGoodsSum.goodsName, dbo.v_stockGoodsSum.unit, dbo.v_stockGoodsSum.goodsType, dbo.v_stockGoodsSum.manufacturer, dbo.v_stockGoodsSum.spec, dbo.v_stockGoodsSum.regeditCode, dbo.v_stockGoodsSum.whType, dbo.v_stockGoodsSum.locState, dbo.v_stockGoodsSum.state, dbo.v_stockGoodsSum.type, dbo.v_stockGoodsSum.BarCode, dbo.v_stockGoodsSum.part, dbo.v_stockGoodsSum.pinYin, dbo.v_stockGoodsSum.repType, dbo.v_stockGoodsSum.validDate, dbo.v_stockGoodsSum.productDate, dbo.v_stockGoodsSum.goodsTypeName, dbo.v_stockGoodsSum.bigCount, dbo.v_stockGoodsSum.bulkMax, dbo.v_stockGoodsSum.repTypeName, dbo.v_stockGoodsSum.repPercent, dbo.v_stockGoodsRepPickingSum.repCount, dbo.v_stockGoodsRepPickingSum.repBoxcnt FROM dbo.v_stockGoodsSum LEFT OUTER JOIN dbo.v_stockGoodsRepPickingSum ON dbo.v_stockGoodsSum.goodsId = dbo.v_stockGoodsRepPickingSum.goodsId AND dbo.v_stockGoodsSum.batch = dbo.v_stockGoodsRepPickingSum.batch GO /****** Object: View [dbo].[v_stockGoodsBulkAlert--obsolete] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsBulkAlert--obsolete] AS SELECT goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, SUM(avCount) AS avCount, CONVERT(decimal(8, 0), SUM(avCount) / bigcount) AS boxcnt, CONVERT(decimal(8, 2), bulkMax * repPercent) AS repBalance, repCount, CONVERT(decimal(8, 2), SUM(avCount) / bulkMax) * 100 AS leftPercent FROM (SELECT goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, isnull(repCount, 0.00) AS repCount, bulkMax, avCount FROM dbo.v_stockGoodsRep WHERE whtype = 0 AND (volType = 0)) AS a GROUP BY goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, repCount HAVING (repPercent > 0 AND SUM(avCount) < repPercent * bulkMax - repCount OR repPercent = 0) UNION ALL SELECT goodsId, batch, goodsName, unit, 0 AS volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, 0.00 AS avCount, 0.00 AS boxcnt, CONVERT(decimal(8, 2), bulkMax * repPercent) AS repBalance, isnull(repCount, 0.00) AS repCount, 0.00 AS leftPercent FROM v_stockGoodsSumRep a WHERE whtype = 0 AND avCount > 0 and repPercent * bulkMax> repCount AND NOT EXISTS (SELECT 1 FROM v_stockgoods WHERE whtype = 0 AND goodsId = a.goodsId AND batch = a.batch AND volType = 0) GO /****** Object: View [dbo].[v_stockGoods4Wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoods4Wince] AS SELECT locationId AS 货位, batch AS 批号, avCount AS 数量, manufacturer AS 厂家, goodsName AS 商品, BarCode AS 条码 FROM dbo.v_stockGoods GO /****** Object: View [dbo].[v_stockOutRequest_Available] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutRequest_Available] AS SELECT TOP (100) orderNo, 0 AS orderType, orderTypeName, customerId, customerName, Delivery, phone1, phone2, salesperson, contactperson, totalnumber, Remark, orderDate, custAddress FROM custErp.dbo.v_stockOutRequest AS a WHERE (NOT EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsOutRequest WHERE (orderNo = a.orderNo))) ORDER BY customerId GO /****** Object: View [dbo].[v_stockOutRequestDetail_available] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutRequestDetail_available] AS SELECT orderNo, orderSn, goodsId, batch, productDate, validDate, Count, saleDate, state, whtype FROM custErp.dbo.v_stockOutRequestDetail AS a WHERE EXISTS (SELECT 1 AS Expr1 FROM dbo.v_stockOutRequest_Available WHERE (orderNo = a.orderNo)) GO /****** Object: View [dbo].[v_stockOutDetail_available] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutDetail_available] AS SELECT a.orderNo, a.goodsId, a.batch, a.productDate, a.validDate, SUM(a.Count) AS count, SUM(a.Count) - FLOOR(SUM(a.Count) / b.bigCount) * b.bigCount AS bulkCount, FLOOR(SUM(a.Count) / b.bigCount) * b.bigCount AS batch1Count, FLOOR(SUM(a.Count) / b.bigCount) AS boxcnt, b.bigCount, a.whtype, a.state FROM dbo.v_stockOutRequestDetail_available AS a INNER JOIN dbo.v_wmsGoods AS b ON a.goodsId = b.goodsId GROUP BY a.orderNo, a.goodsId, a.batch, a.productDate, a.validDate, a.whtype, b.bigCount, a.state GO /****** Object: View [dbo].[v_stockGoodsBulkSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsBulkSum] AS SELECT goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, SUM(avCount) AS avCount, CONVERT(decimal(8, 0), SUM(avCount) / bigcount) AS boxcnt, CONVERT(decimal(8, 2), bulkMax * repPercent) AS repBalance, repCount, CONVERT(decimal(8, 2), SUM(avCount) / bulkMax) * 100 AS leftPercent FROM (SELECT goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, isnull(repCount, 0.00) AS repCount, bulkMax, avCount FROM dbo.v_stockGoodsRep WHERE whtype = 0 AND (volType = 0)) AS a GROUP BY goodsId, batch, goodsName, unit, volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, repCount UNION ALL SELECT goodsId, batch, goodsName, unit, 0 AS volType, goodsType, manufacturer, spec, regeditCode, locState, state, type, part, pinYin, repType, repTypeName, repPercent, validDate, productDate, goodsTypeName, bigCount, bulkMax, 0.00 AS avCount, 0.00 AS boxcnt, CONVERT(decimal(8, 2), bulkMax * repPercent) AS repBalance, isnull(repCount, 0.00) AS repCount, 0.00 AS leftPercent FROM v_stockGoodsSumRep a WHERE whtype = 0 AND avCount > 0 AND NOT EXISTS (SELECT 1 FROM v_stockgoods WHERE whtype = 0 AND goodsId = a.goodsId AND batch = a.batch AND volType = 0) GO /****** Object: View [dbo].[v_stockGoodsBatchSum] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsBatchSum] AS SELECT dbo.t_wmsStock.goodsId, dbo.t_wmsStock.batch, SUM(dbo.t_wmsStock.count - dbo.t_wmsStock.countOut) AS batchCount, SUM(dbo.t_wmsStock.count - dbo.t_wmsStock.countOut - ISNULL(dbo.t_wmsStock.countOuting, 0)) AS avBatchCount FROM dbo.t_wmsStock LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.t_wmsStock.locationId = dbo.t_wmsLocation.locationId WHERE (dbo.t_wmsLocation.whType = 0) AND (dbo.t_wmsLocation.volType = 1 OR dbo.t_wmsLocation.volType = 2) GROUP BY dbo.t_wmsStock.goodsId, dbo.t_wmsStock.batch GO /****** Object: View [dbo].[v_stockGoodsBulkBatchAlert] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockGoodsBulkBatchAlert] AS SELECT ISNULL(dbo.v_stockGoodsBatchSum.batchCount, 0) AS batchCount, dbo.v_stockGoodsBulkSum.goodsId, dbo.v_stockGoodsBulkSum.batch, dbo.v_stockGoodsBulkSum.goodsName, dbo.v_stockGoodsBulkSum.unit, dbo.v_stockGoodsBulkSum.volType, dbo.v_stockGoodsBulkSum.goodsType, dbo.v_stockGoodsBulkSum.manufacturer, dbo.v_stockGoodsBulkSum.spec, dbo.v_stockGoodsBulkSum.regeditCode, dbo.v_stockGoodsBulkSum.locState, dbo.v_stockGoodsBulkSum.state, dbo.v_stockGoodsBulkSum.type, dbo.v_stockGoodsBulkSum.part, dbo.v_stockGoodsBulkSum.pinYin, dbo.v_stockGoodsBulkSum.repType, dbo.v_stockGoodsBulkSum.repTypeName, dbo.v_stockGoodsBulkSum.repPercent, dbo.v_stockGoodsBulkSum.validDate, dbo.v_stockGoodsBulkSum.productDate, dbo.v_stockGoodsBulkSum.goodsTypeName, dbo.v_stockGoodsBulkSum.bigCount, dbo.v_stockGoodsBulkSum.bulkMax, dbo.v_stockGoodsBulkSum.avCount, dbo.v_stockGoodsBulkSum.boxcnt, dbo.v_stockGoodsBulkSum.repBalance, dbo.v_stockGoodsBulkSum.repCount, dbo.v_stockGoodsBulkSum.leftPercent FROM dbo.v_stockGoodsBulkSum LEFT OUTER JOIN dbo.v_stockGoodsBatchSum ON dbo.v_stockGoodsBatchSum.goodsId = dbo.v_stockGoodsBulkSum.goodsId AND dbo.v_stockGoodsBatchSum.batch = dbo.v_stockGoodsBulkSum.batch WHERE (dbo.v_stockGoodsBatchSum.avBatchCount > 0) GO /****** Object: View [dbo].[v_stockMaintain4wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockMaintain4wince] AS SELECT locationId AS 货位, goodsName AS 商品, batch AS 批号, avCount AS 数量, unit AS 单位, productDate AS 生产日期, validDate AS 有效期, manufacturer AS 厂家, spec AS 规格, goodsId AS 商品编号, ISNULL(maintainDate, createtime) AS 上次养护, bigCount AS 大包装, CurCycle AS 养护周期, DATEADD(day, CurCycle, ISNULL(maintainDate, createtime)) AS 下次养护, state, id, goodsTypeName FROM dbo.v_stockGoods WHERE (avCount > 0) GO /****** Object: View [dbo].[v_stockOutRequestPick] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutRequestPick] AS SELECT dbo.t_wmsOutRequest.orderNo, dbo.t_wmsOutRequest.orderType, dbo.t_wmsOutRequest.orderTypeName, dbo.t_wmsOutRequest.customerId, dbo.t_wmsOutRequest.customerName, dbo.t_wmsOutRequest.delivery, dbo.t_wmsOutRequest.phone1, dbo.t_wmsOutRequest.phone2, dbo.t_wmsOutRequest.salesperson, dbo.t_wmsOutRequest.contactperson, dbo.t_wmsOutRequest.totalnumber, dbo.t_wmsOutRequest.remark, dbo.t_wmsOutRequest.orderDate, dbo.t_wmsOutRequest.state, dbo.t_wmsOutRequest.operater, dbo.t_wmsOutRequest.dr, dbo.t_wmsOutRequest.createtime, dbo.t_wmsOutRequest.lastmodified, dbo.t_wmsOutRequest.id, dbo.t_wmsOutPickDetail.pickOrderNo, dbo.t_wmsOutPickRequest.waveOrder, dbo.t_wmsOutPickRequest.state AS pickOrderState, dbo.t_wmsOutPickDetail.state AS goodsPickState, dbo.t_wmsOutPickDetail.goodsId, dbo.t_wmsOutPickDetail.batch, dbo.t_wmsOutPickDetail.count, dbo.t_wmsOutPickDetail.bulkCount, dbo.t_wmsOutPickDetail.batch1Count, dbo.t_wmsOutPickDetail.batch2Count, dbo.t_wmsOutPickDetail.boxcnt, dbo.t_wmsOutPickDetail.productDate, dbo.t_wmsOutPickDetail.validDate, dbo.v_wmsGoods.goodsName, dbo.v_wmsGoods.manufacturer, dbo.v_wmsGoods.spec, dbo.v_wmsGoods.regeditCode, dbo.v_wmsGoods.unit, dbo.v_wmsGoods.type, dbo.v_wmsGoods.BarCode, dbo.v_wmsGoods.goodsType, dbo.v_wmsGoods.goodsTypeName, dbo.t_wmsOutPickDetail.bulkPickState, dbo.t_wmsOutPickDetail.batchPickState, dbo.t_wmsOutPickRequest.bulkCnt, dbo.t_wmsOutRequest.custAddress, dbo.v_wmsGoods.bigCount FROM dbo.t_wmsOutPickRequest RIGHT OUTER JOIN dbo.t_wmsOutPickDetail ON dbo.t_wmsOutPickRequest.pickOrderNo = dbo.t_wmsOutPickDetail.pickOrderNo LEFT OUTER JOIN dbo.v_wmsGoods ON dbo.t_wmsOutPickDetail.goodsId = dbo.v_wmsGoods.goodsId FULL OUTER JOIN dbo.t_wmsOutRequest ON dbo.t_wmsOutPickDetail.pickOrderNo = dbo.t_wmsOutRequest.pickOrderNo GO /****** Object: View [dbo].[v_stockInRequestDetail4ShelfUp] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail4ShelfUp] AS SELECT dbo.v_stockInRequestDetail_wms.id, dbo.v_stockInRequestDetail_wms.orderNo, dbo.v_stockInRequestDetail_wms.goodsId, dbo.v_stockInRequestDetail_wms.goodsName, dbo.v_stockInRequestDetail_wms.cnt, dbo.v_stockInRequestDetail_wms.countIn, dbo.v_stockInRequestDetail_wms.productDate, dbo.v_stockInRequestDetail_wms.batch, dbo.v_stockInRequestDetail_wms.barCode, dbo.v_stockInRequestDetail_wms.validDate, dbo.v_stockInRequestDetail_wms.regeditCode, dbo.v_stockInRequestDetail_wms.manufacturer, dbo.v_stockInRequestDetail_wms.state, dbo.v_stockInRequestDetail_wms.description, dbo.v_stockInRequestDetail_wms.operater, dbo.v_stockInRequestDetail_wms.lastmodified, dbo.v_stockInRequestDetail_wms.createtime, dbo.v_stockInRequestDetail_wms.dr, dbo.t_wmsInRequest.vender, dbo.t_wmsInRequest.owner, dbo.t_wmsInRequest.orderType, dbo.t_wmsInRequest.orderTypeName FROM dbo.v_stockInRequestDetail_wms LEFT OUTER JOIN dbo.t_wmsInRequest ON dbo.v_stockInRequestDetail_wms.orderNo = dbo.t_wmsInRequest.orderNo WHERE (dbo.v_stockInRequestDetail_wms.state = 1) GO /****** Object: View [dbo].[v_stockInRequestDetail4wince_del] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockInRequestDetail4wince_del] AS SELECT dbo.v_reportStockRecord.id, dbo.v_reportStockRecord.orderNo AS 入库订单, dbo.v_reportStockRecord.goodsId AS 商品编码, dbo.v_reportStockRecord.batch AS 批号, dbo.v_reportStockRecord.locationId AS 货位, dbo.v_reportStockRecord.countIn AS 数量, dbo.v_reportStockRecord.validDate AS 失效日期, dbo.v_reportStockRecord.productDate AS 生产日期, dbo.v_reportStockRecord.bigCount AS 大包装, dbo.v_reportStockRecord.unit AS 单位, dbo.v_reportStockRecord.spec AS 规格, dbo.v_reportStockRecord.manufacturer AS 厂家, dbo.v_reportStockRecord.goodsName AS 商品名称, dbo.v_reportStockRecord.box, dbo.v_reportStockRecord.type AS 剂型, dbo.v_reportStockRecord.rectype, dbo.v_stockInRequestDetail4ShelfUp.owner, dbo.v_stockInRequestDetail4ShelfUp.vender, dbo.v_stockInRequestDetail4ShelfUp.orderType, dbo.v_stockInRequestDetail4ShelfUp.orderTypeName, dbo.v_stockInRequestDetail4ShelfUp.state FROM dbo.v_reportStockRecord RIGHT OUTER JOIN dbo.v_stockInRequestDetail4ShelfUp ON dbo.v_reportStockRecord.orderNo = dbo.v_stockInRequestDetail4ShelfUp.orderNo GO /****** Object: View [dbo].[v_customer_2_del] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_customer_2_del] AS SELECT DISTINCT TOP (100) PERCENT custor_id AS custId, custor_name AS custName, Send_address AS Address, Delivery, Tel_1 AS phone1, Tel_2 AS phone2 FROM custErp.dbo.t_erp_sale ORDER BY custId GO /****** Object: View [dbo].[v_stockOutBatchPickOrder4Wince] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutBatchPickOrder4Wince] AS SELECT customerName AS 客户, (CASE WHEN batchPickState = 2 THEN '分拣完成' ELSE '正在分拣' END) AS 整库状态, (CASE WHEN state = 6 THEN '正在分拣' WHEN state = 7 THEN '分拣完成' END) AS 订单状态, pickOrderNo AS 出库单, tranLocationId AS 集货货位 FROM dbo.t_wmsOutPickRequest WHERE EXISTS (SELECT 1 AS Expr1 FROM dbo.t_wmsOutPickPort WHERE (pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo) AND (state = 1) AND (dbo.t_wmsOutPickRequest.orderType <> 1)) GO /****** Object: View [dbo].[v_stockOutPickRequestLog] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutPickRequestLog] AS SELECT DISTINCT dbo.t_wmsOutLog.orderState, dbo.t_wmsOutLog.pickOrderNo, dbo.t_wmsOutLog.pickState, dbo.t_wmsOutLog.bulkPickState, dbo.t_wmsOutLog.batchPickState, deiniuPlatform.dbo.t_Employee.em_account AS operater, dbo.t_wmsOutLog.lastmodified, dbo.t_wmsOutLog.orderNo FROM dbo.t_wmsOutLog LEFT OUTER JOIN deiniuPlatform.dbo.t_Employee ON dbo.t_wmsOutLog.operater = deiniuPlatform.dbo.t_Employee.id WHERE (dbo.t_wmsOutLog.orderNo IS NULL) AND (dbo.t_wmsOutLog.orderState IS NOT NULL) GO /****** Object: View [dbo].[v_stockOutRequestLog] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutRequestLog] AS SELECT DISTINCT dbo.t_wmsOutLog.orderState, dbo.t_wmsOutLog.pickOrderNo, dbo.t_wmsOutLog.pickState, dbo.t_wmsOutLog.bulkPickState, dbo.t_wmsOutLog.batchPickState, deiniuPlatform.dbo.t_Employee.em_account AS operater, dbo.t_wmsOutLog.lastmodified, dbo.t_wmsOutLog.orderNo FROM dbo.t_wmsOutLog LEFT OUTER JOIN deiniuPlatform.dbo.t_Employee ON dbo.t_wmsOutLog.operater = deiniuPlatform.dbo.t_Employee.id WHERE (dbo.t_wmsOutLog.orderState IS NOT NULL) GO /****** Object: View [dbo].[v_stockOutSeedsGoods] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_stockOutSeedsGoods] AS SELECT seedsPickNo, goodsId, batch, SUM(bulkCount) AS bulkcount, orderState FROM dbo.t_wmsOutPickDetail_tmp GROUP BY seedsPickNo, goodsId, batch, orderState GO /****** Object: View [dbo].[v_tmsPickRequestBulks_2del] Script Date: 2018/4/17 23:07:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE VIEW [dbo].[v_tmsPickRequestBulks_2del] AS SELECT dbo.t_tmsStock.id, dbo.t_wmsOutPickRequest.transNo, dbo.t_wmsOutPickRequest.customerId, dbo.t_tmsStock.pickOrderNo, dbo.t_tmsStock.locationId, dbo.t_wmsLocation.volType, dbo.t_tmsStock.count, dbo.t_tmsStock.state, dbo.t_wmsOutPickRequest.customerName, dbo.t_wmsOutPickRequest.custAddress, dbo.t_tmsStock.operater FROM dbo.t_tmsStock LEFT OUTER JOIN dbo.t_wmsOutPickRequest ON dbo.t_tmsStock.pickOrderNo = dbo.t_wmsOutPickRequest.pickOrderNo LEFT OUTER JOIN dbo.t_wmsLocation ON dbo.t_tmsStock.locationId = dbo.t_wmsLocation.locationId GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsGoods] ON [dbo].[t_wmsGoods] ( [dr] ASC ) INCLUDE ( [goodsId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_4_3_dwms4dbot_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_4_3_dwms4dbot_wmsGoods] ON [dbo].[t_wmsGoods] ( [ID] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_45_44_deiniuWMSdbot_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_45_44_deiniuWMSdbot_wmsGoods] ON [dbo].[t_wmsGoods] ( [repType] ASC, [dr] ASC ) INCLUDE ( [goodsId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_47_46_deiniuWMSdbot_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_47_46_deiniuWMSdbot_wmsGoods] ON [dbo].[t_wmsGoods] ( [part] ASC ) INCLUDE ( [goodsId], [goodsType], [repType]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_49_48_deiniuWMSdbot_wmsGoods] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_49_48_deiniuWMSdbot_wmsGoods] ON [dbo].[t_wmsGoods] ( [part] ASC ) INCLUDE ( [goodsId], [repType]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2452_2451_dwms4dbot_wmsInRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2452_2451_dwms4dbot_wmsInRequest] ON [dbo].[t_wmsInRequest] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_3012_3011_dwms4dbot_wmsInRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3012_3011_dwms4dbot_wmsInRequest] ON [dbo].[t_wmsInRequest] ( [dr] ASC, [orderDate] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_3015_3014_dwms4dbot_wmsInRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3015_3014_dwms4dbot_wmsInRequest] ON [dbo].[t_wmsInRequest] ( [state] ASC, [dr] ASC, [orderDate] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2442_2441_dwms4dbot_wmsInRequestDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2442_2441_dwms4dbot_wmsInRequestDetail] ON [dbo].[t_wmsInRequestDetail] ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsLocation] ON [dbo].[t_wmsLocation] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_4_3_dwms4dbot_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_4_3_dwms4dbot_wmsLocation] ON [dbo].[t_wmsLocation] ( [dr] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_43_42_deiniuWMSdbot_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_43_42_deiniuWMSdbot_wmsLocation] ON [dbo].[t_wmsLocation] ( [warehouse] ASC, [dr] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_48_47_dwms4t_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_48_47_dwms4t_wmsLocation] ON [dbo].[t_wmsLocation] ( [state] ASC, [goodsType] ASC, [volType] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_48_49_dwms4t_wmsLocation] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_48_49_dwms4t_wmsLocation] ON [dbo].[t_wmsLocation] ( [locationId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2414_2413_dwms4dbot_wmsOutDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2414_2413_dwms4dbot_wmsOutDetail] ON [dbo].[t_wmsOutDetail] ( [orderNo] ASC ) INCLUDE ( [id], [goodsId], [batch], [count], [bulkCount], [batch1Count], [batch2Count], [boxcnt], [productDate], [validDate], [state], [whtype], [description], [operater], [dr], [createtime], [lastmodified]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2416_2415_dwms4dbot_wmsOutDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2416_2415_dwms4dbot_wmsOutDetail] ON [dbo].[t_wmsOutDetail] ( [orderNo] ASC ) INCLUDE ( [goodsId], [batch], [count], [productDate], [validDate], [whtype]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2422_2421_dwms4dbot_wmsOutDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2422_2421_dwms4dbot_wmsOutDetail] ON [dbo].[t_wmsOutDetail] ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_33_32_dwms4dbot_wmsOutDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_33_32_dwms4dbot_wmsOutDetail] ON [dbo].[t_wmsOutDetail] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_12_11_dwms4dbot_wmsOutLog] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_12_11_dwms4dbot_wmsOutLog] ON [dbo].[t_wmsOutLog] ( [pickOrderNo] ASC ) INCLUDE ( [goodsId], [orderState], [pickState], [bulkPickState], [batchPickState], [operater]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2410_2409_dwms4dbot_wmsOutPickDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2410_2409_dwms4dbot_wmsOutPickDetail] ON [dbo].[t_wmsOutPickDetail] ( [pickOrderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2691_2690_dwms4dbot_wmsOutPickDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2691_2690_dwms4dbot_wmsOutPickDetail] ON [dbo].[t_wmsOutPickDetail] ( [pickOrderNo] ASC ) INCLUDE ( [id]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_3796_3795_dwms4dbot_wmsOutPickDetail] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3796_3795_dwms4dbot_wmsOutPickDetail] ON [dbo].[t_wmsOutPickDetail] ( [pickOrderNo] ASC ) INCLUDE ( [id], [count], [bulkCount]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsOutPickLable] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsOutPickLable] ON [dbo].[t_wmsOutPickLable] ( [pickOrderNo] ASC ) INCLUDE ( [recordId], [locationId], [elabId], [port], [elabAddress], [state], [pickCount]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2815_2814_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2815_2814_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2955_2954_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2955_2954_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [waveOrder] ASC ) INCLUDE ( [pickOrderNo]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_3007_3006_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3007_3006_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [waveOrder] ASC ) INCLUDE ( [pickOrderNo], [desk], [bulkPickState]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_3492_3491_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3492_3491_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [orderType] ASC, [state] ASC, [dr] ASC ) INCLUDE ( [id], [pickOrderNo], [waveOrder], [orderTypeName], [customerId], [description], [pickedBye], [boxCnt], [bulkCnt], [customerName], [desk], [waveEnd], [operater], [volume], [bulkPickState], [batchPickState], [orderDate], [checkedTime], [waveStart], [pickedTime], [checkedby], [createtime], [lastmodified]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_3792_3791_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3792_3791_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [waveOrder] ASC ) INCLUDE ( [pickOrderNo], [customerId], [customerName]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_3825_3824_dwms4dbot_wmsOutPickRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_3825_3824_dwms4dbot_wmsOutPickRequest] ON [dbo].[t_wmsOutPickRequest] ( [orderType] ASC, [state] ASC ) INCLUDE ( [id], [pickOrderNo], [waveOrder], [orderTypeName], [customerId], [customerName], [pickedBye], [pickedTime], [bulkCnt], [volume], [desk], [boxCnt], [operater], [dr], [bulkPickState], [batchPickState], [orderDate], [description], [waveStart], [waveEnd], [checkedby], [checkedTime], [createtime], [lastmodified]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [state] ASC, [dr] ASC, [orderDate] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2428_2427_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2428_2427_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [orderType] ASC, [orderDate] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_2430_2429_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2430_2429_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2495_2494_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2495_2494_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [orderType] ASC, [state] ASC ) INCLUDE ( [orderNo], [customerId], [customerName]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_43_42_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_43_42_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [pickOrderNo] ASC ) INCLUDE ( [orderNo], [state]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_5_4_dwms4dbot_wmsOutRequest] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_5_4_dwms4dbot_wmsOutRequest] ON [dbo].[t_wmsOutRequest] ( [dr] ASC, [orderDate] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_16_15_deiniuWMSdbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_16_15_deiniuWMSdbot_wmsStock] ON [dbo].[t_wmsStock] ( [maintainDate] ASC ) INCLUDE ( [id], [goodsId], [batch], [locationId], [productDate], [operater], [lastmodified], [createtime], [dr], [validDate], [validationTerm], [count], [countLock], [countOut], [state]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_19_18_deiniuWMSdbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_19_18_deiniuWMSdbot_wmsStock] ON [dbo].[t_wmsStock] ( [dr] ASC ) INCLUDE ( [goodsId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsStock] ON [dbo].[t_wmsStock] ( [goodsId] ASC, [batch] ASC ) INCLUDE ( [id], [locationId], [productDate], [validDate], [operater], [lastmodified], [createtime], [dr], [validationTerm], [count], [countLock], [countOut], [state], [maintainDate]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2993_2992_dwms4dbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2993_2992_dwms4dbot_wmsStock] ON [dbo].[t_wmsStock] ( [goodsId] ASC, [batch] ASC ) INCLUDE ( [id], [locationId], [productDate], [validDate], [validationTerm], [count], [countLock], [countOut], [state], [operater], [lastmodified], [createtime], [dr]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_39_38_deiniuWMSdbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_39_38_deiniuWMSdbot_wmsStock] ON [dbo].[t_wmsStock] ( [state] ASC ) INCLUDE ( [goodsId]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO /****** Object: Index [IDX_48_47_dwms4dbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_48_47_dwms4dbot_wmsStock] ON [dbo].[t_wmsStock] ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_5_4_dwms4dbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_5_4_dwms4dbot_wmsStock] ON [dbo].[t_wmsStock] ( [goodsId] ASC, [batch] ASC, [state] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_51_50_deiniuWMSdbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_51_50_deiniuWMSdbot_wmsStock] ON [dbo].[t_wmsStock] ( [productDate] ASC ) INCLUDE ( [goodsId], [batch], [locationId], [validDate], [count], [countOut], [state]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_53_52_deiniuWMSdbot_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_53_52_deiniuWMSdbot_wmsStock] ON [dbo].[t_wmsStock] ( [productDate] ASC ) INCLUDE ( [goodsId], [batch], [locationId], [validDate], [state]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IX_t_wmsStock] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IX_t_wmsStock] ON [dbo].[t_wmsStock] ( [goodsId] ASC, [batch] ASC, [locationId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_100_99_dwms4dbot_wmsStockRecord] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_100_99_dwms4dbot_wmsStockRecord] ON [dbo].[t_wmsStockRecord] ( [orderNo] ASC ) INCLUDE ( [id], [id128], [goodsId], [batch], [locationId], [count], [validDate], [productDate]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_111_110_dwms4dbot_wmsStockRecord] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_111_110_dwms4dbot_wmsStockRecord] ON [dbo].[t_wmsStockRecord] ( [orderNo] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2_01_dwms4dbot_wmsStockRecord] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_01_dwms4dbot_wmsStockRecord] ON [dbo].[t_wmsStockRecord] ( [locationId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO SET ANSI_PADDING ON GO /****** Object: Index [IDX_2_1_dwms4dbot_wmsStockRecord] Script Date: 2018/4/17 23:07:46 ******/ CREATE NONCLUSTERED INDEX [IDX_2_1_dwms4dbot_wmsStockRecord] ON [dbo].[t_wmsStockRecord] ( [orderNo] ASC, [goodsId] ASC, [batch] ASC ) INCLUDE ( [locationId], [count]) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] GO ALTER TABLE [dbo].[t_tmsLineDetail] ADD CONSTRAINT [DF_t_tmsLineDetail_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_tmsLineDetail] ADD CONSTRAINT [DF_t_tmsLineDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_tmsLineDetail] ADD CONSTRAINT [DF_t_tmsLineDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_tmsStock] ADD CONSTRAINT [DF_t_tmsStock_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_tmsStock] ADD CONSTRAINT [DF_t_tmsStock_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_tmsStock] ADD CONSTRAINT [DF_t_tmsStock_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_tmsTranRequest] ADD CONSTRAINT [DF_t_tmsTranRequest_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_tmsTranRequest] ADD CONSTRAINT [DF_t_tmsTranRequest_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_tmsTranRequest] ADD CONSTRAINT [DF_t_tmsTranRequest_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_tmsTranRequestDetail] ADD CONSTRAINT [DF_t_tmsTranRequestDetail_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_tmsTranRequestDetail] ADD CONSTRAINT [DF_t_tmsTranRequestDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_tmsTranRequestDetail] ADD CONSTRAINT [DF_t_tmsTranRequestDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_tmsViechle] ADD CONSTRAINT [DF_t_tmsViechle_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_tmsViechle] ADD CONSTRAINT [DF_t_tmsViechle_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_tmsViechle] ADD CONSTRAINT [DF_t_tmsViechle_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsDealLocation] ADD CONSTRAINT [DF_t_wmsDealLocation_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsDealLocation] ADD CONSTRAINT [DF_t_wmsDealLocation_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsGoods] ADD CONSTRAINT [DF_t_wmsGoods_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsGoods] ADD CONSTRAINT [DF_t_wmsGoods_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsInRequest] ADD CONSTRAINT [DF_t_wmsInRequest_orderType] DEFAULT ((0)) FOR [orderType] GO ALTER TABLE [dbo].[t_wmsInRequest] ADD CONSTRAINT [DF_t_wmsInRequest_state] DEFAULT ((0)) FOR [state] GO ALTER TABLE [dbo].[t_wmsInRequest] ADD CONSTRAINT [DF_t_wmsInRequest_endDate] DEFAULT (getdate()) FOR [orderDate] GO ALTER TABLE [dbo].[t_wmsInRequest] ADD CONSTRAINT [DF_t_wmsInRequest_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsInRequest] ADD CONSTRAINT [DF_t_wmsInRequest_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsInRequestDetail] ADD CONSTRAINT [DF_t_wmsInRequestDetail_state] DEFAULT ((0)) FOR [state] GO ALTER TABLE [dbo].[t_wmsInRequestDetail] ADD CONSTRAINT [DF_t_wmsInRequestDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsInRequestDetail] ADD CONSTRAINT [DF_t_wmsInRequestDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsInUpPort] ADD CONSTRAINT [DF_t_wmsInUpPort_volType] DEFAULT ((-2)) FOR [volType] GO ALTER TABLE [dbo].[t_wmsInUpPort] ADD CONSTRAINT [DF_t_wmsInUpPort_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsInUpPort] ADD CONSTRAINT [DF_t_wmsInUpPort_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsLocation] ADD CONSTRAINT [DF_t_wmsLocation_state] DEFAULT ((1)) FOR [state] GO ALTER TABLE [dbo].[t_wmsLocation] ADD CONSTRAINT [DF_t_location_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsLocation] ADD CONSTRAINT [DF_t_location_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutBox] ADD CONSTRAINT [DF_t_wmsOutBox_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutBox] ADD CONSTRAINT [DF_t_wmsOutBox_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutDesk] ADD CONSTRAINT [DF_t_wmsOutDesk_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutDesk] ADD CONSTRAINT [DF_t_wmsOutDesk_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutDetail] ADD CONSTRAINT [DF_t_wmsOutDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutDetail] ADD CONSTRAINT [DF_t_wmsOutDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutLog] ADD CONSTRAINT [DF_t_wmsOutLog_lastmodified] DEFAULT (getdate()) FOR [lastmodified] GO ALTER TABLE [dbo].[t_wmsOutLog] ADD CONSTRAINT [DF_t_wmsOutLog_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutLog] ADD CONSTRAINT [DF_t_wmsOutLog_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickDetail] ADD CONSTRAINT [DF_t_wmsOutPickDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickDetail] ADD CONSTRAINT [DF_t_wmsOutPickDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutPickLable] ADD CONSTRAINT [DF_t_wmsOutPickLable_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickLable] ADD CONSTRAINT [DF_t_wmsOutPickLable_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutPickLable_tmp] ADD CONSTRAINT [DF_t_wmsOutPickLable_tmp_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickLable_tmp] ADD CONSTRAINT [DF_t_wmsOutPickLable_tmp_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutPickPort] ADD CONSTRAINT [DF_t_wmsOutPickPort_volType] DEFAULT ((-2)) FOR [volType] GO ALTER TABLE [dbo].[t_wmsOutPickPort] ADD CONSTRAINT [DF_t_wmsOutPickPort_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickPort] ADD CONSTRAINT [DF_t_wmsOutPickPort_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutPickRequest] ADD CONSTRAINT [DF_t_wmsOutPickRequest_orderDate] DEFAULT (getdate()) FOR [orderDate] GO ALTER TABLE [dbo].[t_wmsOutPickRequest] ADD CONSTRAINT [DF_t_wmsOutPickRequest_priority] DEFAULT ((1)) FOR [priority] GO ALTER TABLE [dbo].[t_wmsOutPickRequest] ADD CONSTRAINT [DF_t_wmsOutPickRequest_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutPickRequest] ADD CONSTRAINT [DF_t_wmsOutPickRequest_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutRequest] ADD CONSTRAINT [DF_t_wmsOutRequest_orderType] DEFAULT ((0)) FOR [orderType] GO ALTER TABLE [dbo].[t_wmsOutRequest] ADD CONSTRAINT [DF_t_wmsOutRequest_orderDate] DEFAULT (getdate()) FOR [orderDate] GO ALTER TABLE [dbo].[t_wmsOutRequest] ADD CONSTRAINT [DF_t_wmsOutRequest_state] DEFAULT ((0)) FOR [state] GO ALTER TABLE [dbo].[t_wmsOutRequest] ADD CONSTRAINT [DF_t_wmsOutRequest_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutRequest] ADD CONSTRAINT [DF_t_wmsOutRequest_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutRequestDetail] ADD CONSTRAINT [DF_t_wmsOutRequestDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutRequestDetail] ADD CONSTRAINT [DF_t_wmsOutRequestDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsOutValidationException] ADD CONSTRAINT [DF__t_wmsOutValidation_dr__0F2D40CE] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsOutValidationException] ADD CONSTRAINT [DF__t_wmsOutValidationException_create_t__10216507] DEFAULT (getdate()) FOR [create_time] GO ALTER TABLE [dbo].[t_wmsReceive] ADD CONSTRAINT [DF_t_wmsReceive_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsReceive] ADD CONSTRAINT [DF_t_wmsReceive_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsReceiveDetail] ADD CONSTRAINT [DF_t_wmsReceiveDetail_state] DEFAULT ((0)) FOR [state] GO ALTER TABLE [dbo].[t_wmsReceiveDetail] ADD CONSTRAINT [DF_t_wmsReceiveDetail_batchState] DEFAULT ((0)) FOR [batchState] GO ALTER TABLE [dbo].[t_wmsReceiveDetail] ADD CONSTRAINT [DF_t_wmsReceiveDetail_picState] DEFAULT ((0)) FOR [picState] GO ALTER TABLE [dbo].[t_wmsReceiveDetail] ADD CONSTRAINT [DF_t_wmsReceiveDetail_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsReceiveDetail] ADD CONSTRAINT [DF_t_wmsReceiveDetail_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsStock] ADD CONSTRAINT [DF_t_wmsStock_countIn] DEFAULT ((0)) FOR [countIn] GO ALTER TABLE [dbo].[t_wmsStock] ADD CONSTRAINT [DF_t_wmsStock_countOuting] DEFAULT ((0)) FOR [countOuting] GO ALTER TABLE [dbo].[t_wmsStock] ADD CONSTRAINT [DF_t_wmsStock_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsStock] ADD CONSTRAINT [DF_t_wmsStock_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsStockMaintain] ADD CONSTRAINT [DF_t_wmsStockMaintain_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsStockMaintain] ADD CONSTRAINT [DF_t_wmsStockMaintain_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsStockRecord] ADD CONSTRAINT [DF_t_wmsStockRecord_countIn] DEFAULT ((0)) FOR [countIn] GO ALTER TABLE [dbo].[t_wmsStockRecord] ADD CONSTRAINT [DF_t_wmsStockRecord_countOuting] DEFAULT ((0)) FOR [countOuting] GO ALTER TABLE [dbo].[t_wmsStockRecord] ADD CONSTRAINT [DF_t_wmsStockRecord_createtime] DEFAULT (getdate()) FOR [createtime] GO ALTER TABLE [dbo].[t_wmsStockRecord] ADD CONSTRAINT [DF_t_wmsStockRecord_dr] DEFAULT ((1)) FOR [dr] GO ALTER TABLE [dbo].[t_wmsStock] WITH CHECK ADD CONSTRAINT [FK_t_wmsStock_t_wmsLocation] FOREIGN KEY([locationId]) REFERENCES [dbo].[t_wmsLocation] ([locationId]) GO ALTER TABLE [dbo].[t_wmsStock] CHECK CONSTRAINT [FK_t_wmsStock_t_wmsLocation] GO ALTER TABLE [dbo].[t_wmsStockMaintain] WITH CHECK ADD CONSTRAINT [FK_t_wmsStockMaintain_t_wmsLocation] FOREIGN KEY([locationId]) REFERENCES [dbo].[t_wmsLocation] ([locationId]) GO ALTER TABLE [dbo].[t_wmsStockMaintain] CHECK CONSTRAINT [FK_t_wmsStockMaintain_t_wmsLocation] GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'有效天数 有效期减去生产日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_wmsGoods', @level2type=N'COLUMN',@level2name=N'validTermDays' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0,锁定 1 空闲 2 被使用' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_wmsLocation', @level2type=N'COLUMN',@level2name=N'state' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 释放 1被占用' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_wmsLocation', @level2type=N'COLUMN',@level2name=N'tranState' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'1 等待收货 2 等待验收 3 拒收 4第一个人验收完毕 5验收完毕,等待上架 6上架完毕 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_wmsReceive', @level2type=N'COLUMN',@level2name=N'state' GO EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'0 等待上架 1 收货完成 2验收' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N't_wmsReceiveDetail', @level2type=N'COLUMN',@level2name=N'state' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_node_1" Begin Extent = Top = 6 Left = 38 Bottom = 301 Right = 199 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N't_node' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N't_node' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_customer_1" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 185 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_customer' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_customer' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[32] 2[9] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_erp_sale (custErp.dbo)" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 208 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 2190 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_customer_2_del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_customer_2_del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_Employee (deiniuPlatform.dbo)" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 226 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_employee' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_employee' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[37] 2[17] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_erpGoods_1" Begin Extent = Top = 6 Left = 38 Bottom = 349 Right = 204 End DisplayFlags = 280 TopColumn = 9 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1590 Table = 2820 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_erpGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_erpGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[32] 2[9] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_erpGoodsBalance_1" Begin Extent = Top = 6 Left = 38 Bottom = 281 Right = 324 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 4095 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_erpGoodsBalance' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_erpGoodsBalance' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "l" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 226 End DisplayFlags = 280 TopColumn = 14 End Begin Table = "t_node" Begin Extent = Top = 6 Left = 264 Bottom = 145 Right = 441 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_freeLocationByGroup' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_freeLocationByGroup' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[36] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsLocation" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 210 End DisplayFlags = 280 TopColumn = 15 End Begin Table = "t_node" Begin Extent = Top = 150 Left = 220 Bottom = 289 Right = 381 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node_1" Begin Extent = Top = 6 Left = 447 Bottom = 145 Right = 608 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_freeLocations' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_freeLocations' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[8] 2[32] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsLocation" Begin Extent = Top = 6 Left = 38 Bottom = 214 Right = 210 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node_1" Begin Extent = Top = 14 Left = 738 Bottom = 153 Right = 899 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 170 Left = 468 Bottom = 309 Right = 629 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_location' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_location' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[56] 4[8] 2[29] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 273 Right = 200 End DisplayFlags = 280 TopColumn = 3 End Begin Table = "b" Begin Extent = Top = 6 Left = 238 Bottom = 215 Right = 449 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1530 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecord' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecord' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[49] 4[21] 2[26] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_reportStockRecord" Begin Extent = Top = 6 Left = 38 Bottom = 291 Right = 204 End DisplayFlags = 280 TopColumn = 15 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 3210 Alias = 2415 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1440 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecordDownList4Up4winCE' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecordDownList4Up4winCE' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[33] 2[18] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_reportStockRecord" Begin Extent = Top = 6 Left = 38 Bottom = 291 Right = 204 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 3210 Alias = 2415 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecordUpDown4winCE' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_reportStockRecordUpDown4winCE' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[33] 4[51] 2[17] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsStock" Begin Extent = Top = 6 Left = 38 Bottom = 319 Right = 213 End DisplayFlags = 280 TopColumn = 5 End Begin Table = "t_wmsLocation" Begin Extent = Top = 72 Left = 360 Bottom = 367 Right = 532 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 0 Left = 608 Bottom = 326 Right = 798 End DisplayFlags = 280 TopColumn = 9 End Begin Table = "t_node" Begin Extent = Top = 22 Left = 894 Bottom = 315 Right = 1055 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 13200 Alias = 3645 Table = 3585 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[28] 2[13] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 6 Left = 38 Bottom = 300 Right = 241 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 2145 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoods4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoods4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsLocation" Begin Extent = Top = 40 Left = 535 Bottom = 179 Right = 707 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsStock" Begin Extent = Top = 6 Left = 38 Bottom = 311 Right = 300 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBatchSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBatchSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[39] 4[6] 2[55] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkAlert--obsolete' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkAlert--obsolete' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[18] 2[39] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoodsBatchSum" Begin Extent = Top = 22 Left = 369 Bottom = 230 Right = 638 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockGoodsBulkSum" Begin Extent = Top = 6 Left = 38 Bottom = 346 Right = 294 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 2865 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkBatchAlert' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkBatchAlert' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[16] 4[25] 2[51] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsBulkSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[46] 4[39] 2[12] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 231 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 3060 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsMaintain' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsMaintain' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[26] 4[27] 2[28] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 228 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockGoodsRepPickingSum" Begin Extent = Top = 6 Left = 266 Bottom = 145 Right = 428 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsRep' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsRep' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[35] 2[18] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail" Begin Extent = Top = 24 Left = 59 Bottom = 335 Right = 357 End DisplayFlags = 280 TopColumn = 4 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 0 Left = 421 Bottom = 308 Right = 763 End DisplayFlags = 280 TopColumn = 6 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 2610 Table = 2820 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsRepPickingSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsRepPickingSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[12] 4[61] 2[27] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 6 Left = 38 Bottom = 287 Right = 228 End DisplayFlags = 280 TopColumn = 24 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 1680 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[32] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoodsSum" Begin Extent = Top = 6 Left = 38 Bottom = 336 Right = 228 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockGoodsRepPickingSum" Begin Extent = Top = 0 Left = 553 Bottom = 277 Right = 864 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsSumRep' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockGoodsSumRep' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[21] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 306 Right = 223 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1725 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 223 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available_bad' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available_bad' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 223 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available_good' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequest_Available_good' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[32] 2[26] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 360 Right = 291 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockInRequest_Available" Begin Extent = Top = 0 Left = 413 Bottom = 358 Right = 722 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 2910 Alias = 2280 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[43] 4[17] 2[36] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 219 Right = 204 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 18 Left = 395 Bottom = 219 Right = 585 End DisplayFlags = 280 TopColumn = 32 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2505 Alias = 3465 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available_bad' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available_bad' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[21] 4[50] 2[10] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 204 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available_good' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_Available_good' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[57] 4[14] 2[30] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsInRequestDetail" Begin Extent = Top = 6 Left = 8 Bottom = 278 Right = 270 End DisplayFlags = 280 TopColumn = 3 End Begin Table = "v_wmsGoods" Begin Extent = Top = 0 Left = 362 Bottom = 288 Right = 654 End DisplayFlags = 280 TopColumn = 15 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_wms' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail_wms' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockInRequestDetail_wms" Begin Extent = Top = 6 Left = 38 Bottom = 202 Right = 281 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsInRequest" Begin Extent = Top = 0 Left = 388 Bottom = 202 Right = 573 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4ShelfUp' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4ShelfUp' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[45] 4[20] 2[28] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsInUpPort" Begin Extent = Top = 6 Left = 38 Bottom = 202 Right = 210 End DisplayFlags = 280 TopColumn = 11 End Begin Table = "v_wmsGoods" Begin Extent = Top = 17 Left = 279 Bottom = 213 Right = 469 End DisplayFlags = 280 TopColumn = 38 End Begin Table = "t_wmsInRequest" Begin Extent = Top = 0 Left = 503 Bottom = 163 Right = 733 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2310 Alias = 900 Table = 3240 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[46] 4[24] 2[22] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_reportStockRecord" Begin Extent = Top = 6 Left = 38 Bottom = 275 Right = 228 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockInRequestDetail4ShelfUp" Begin Extent = Top = 3 Left = 404 Bottom = 249 Right = 696 End DisplayFlags = 280 TopColumn = 10 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4wince_del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockInRequestDetail4wince_del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[20] 4[37] 2[24] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 228 End DisplayFlags = 280 TopColumn = 31 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1575 Table = 2175 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockMaintain4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockMaintain4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[54] 4[8] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsStockMaintain" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 200 End DisplayFlags = 280 TopColumn = 10 End Begin Table = "v_wmsGoods" Begin Extent = Top = 60 Left = 339 Bottom = 400 Right = 529 End DisplayFlags = 280 TopColumn = 26 End Begin Table = "v_employee" Begin Extent = Top = 6 Left = 601 Bottom = 145 Right = 789 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockMaintainRecord' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockMaintainRecord' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[31] 4[11] 2[57] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockOutPort" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 228 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 6900 Alias = 900 Table = 4575 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[37] 4[17] 2[37] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockOutBatchPickDetail" Begin Extent = Top = 0 Left = 58 Bottom = 334 Right = 306 End DisplayFlags = 280 TopColumn = 16 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1395 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickDetail4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickDetail4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[33] 4[29] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 6 Left = 38 Bottom = 215 Right = 378 End DisplayFlags = 280 TopColumn = 9 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2505 Alias = 2685 Table = 3300 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickOrder4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBatchPickOrder4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[52] 4[29] 2[15] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickLable_tmp" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 245 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsStockRecord" Begin Extent = Top = 61 Left = 320 Bottom = 349 Right = 555 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 39 Left = 1013 Bottom = 339 Right = 1212 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 13 Left = 697 Bottom = 397 Right = 887 End DisplayFlags = 280 TopColumn = 22 End Begin Table = "t_wmsOutDesk" Begin Extent = Top = 56 Left = 1278 Bottom = 344 Right = 1439 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 2925 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 O' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBulkInCurrentWave' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N'r = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBulkInCurrentWave' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutBulkInCurrentWave' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[28] 4[40] 2[16] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_wmsGoods" Begin Extent = Top = 13 Left = 353 Bottom = 314 Right = 543 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockOutLablePickDetail" Begin Extent = Top = 0 Left = 68 Bottom = 311 Right = 250 End DisplayFlags = 280 TopColumn = 1 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 4650 Alias = 900 Table = 3660 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutCheckDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutCheckDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 328 Right = 216 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "b" Begin Extent = Top = 6 Left = 254 Bottom = 340 Right = 460 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetail_available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetail_available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[50] 4[15] 2[21] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_wmsGoods" Begin Extent = Top = 9 Left = 492 Bottom = 342 Right = 666 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutDetail" Begin Extent = Top = 6 Left = 38 Bottom = 423 Right = 200 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetail_wms' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetail_wms' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[50] 4[10] 2[40] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = -71 End Begin Tables = Begin Table = "b" Begin Extent = Top = 16 Left = 373 Bottom = 225 Right = 648 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "c" Begin Extent = Top = 6 Left = 753 Bottom = 178 Right = 943 End DisplayFlags = 280 TopColumn = 23 End Begin Table = "a" Begin Extent = Top = 6 Left = 109 Bottom = 372 Right = 310 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 2775 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetailByCust' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutDetailByCust' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[44] 4[35] 2[21] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = -50 Left = 0 End Begin Tables = Begin Table = "t_wmsStockRecord" Begin Extent = Top = 5 Left = 582 Bottom = 288 Right = 838 End DisplayFlags = 280 TopColumn = 6 End Begin Table = "t_wmsOutPickLable" Begin Extent = Top = 33 Left = 27 Bottom = 326 Right = 251 End DisplayFlags = 280 TopColumn = 5 End Begin Table = "t_wmsOutDesk" Begin Extent = Top = 310 Left = 479 Bottom = 560 Right = 707 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 43 Left = 310 Bottom = 271 Right = 547 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 4035 Alias = 900 Table = 3735 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutLablePickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutLablePickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[42] 2[10] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail" Begin Extent = Top = 6 Left = 38 Bottom = 526 Right = 255 End DisplayFlags = 280 TopColumn = 4 End Begin Table = "v_wmsGoods" Begin Extent = Top = 0 Left = 432 Bottom = 329 Right = 622 End DisplayFlags = 280 TopColumn = 19 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 3255 Alias = 4380 Table = 5040 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[32] 2[17] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockOutPickDetailValidation" Begin Extent = Top = 6 Left = 38 Bottom = 212 Right = 408 End DisplayFlags = 280 TopColumn = 20 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 2385 Table = 3420 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailSeeds' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailSeeds' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[30] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockOutPickDetailValidation" Begin Extent = Top = 2 Left = 445 Bottom = 220 Right = 635 End DisplayFlags = 280 TopColumn = 39 End Begin Table = "v_stockOutPickSeedsGoodsSum" Begin Extent = Top = 7 Left = 65 Bottom = 221 Right = 304 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailSeeds_to_delete' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailSeeds_to_delete' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[25] 2[34] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_node_1" Begin Extent = Top = 65 Left = 911 Bottom = 204 Right = 1072 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 122 Left = 1173 Bottom = 261 Right = 1334 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 0 Left = 445 Bottom = 213 Right = 635 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickDetail_tmp" Begin Extent = Top = 6 Left = 38 Bottom = 323 Right = 325 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 4875 Alias = 3420 Table = 4410 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailValidation' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickDetailValidation' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[43] 4[29] 2[27] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutLog" Begin Extent = Top = 0 Left = 355 Bottom = 326 Right = 528 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_Employee (deiniuPlatform.dbo)" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 226 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2085 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickRequestLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickRequestLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[46] 4[21] 2[21] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail_tmp" Begin Extent = Top = 6 Left = 38 Bottom = 224 Right = 236 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickSeedsGoodsSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickSeedsGoodsSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[17] 2[39] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail" Begin Extent = Top = 6 Left = 38 Bottom = 284 Right = 238 End DisplayFlags = 280 TopColumn = 5 End Begin Table = "v_wmsGoods" Begin Extent = Top = 6 Left = 258 Bottom = 313 Right = 448 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickVolume' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickVolume' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockOutPickVolume" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 220 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 4650 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickVolumSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPickVolumSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[24] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickPort" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 211 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsStockRecord" Begin Extent = Top = 6 Left = 249 Bottom = 145 Right = 411 End DisplayFlags = 280 TopColumn = 10 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 6 Left = 449 Bottom = 145 Right = 634 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 6 Left = 672 Bottom = 145 Right = 862 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPort' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutPort' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[19] 4[37] 2[28] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 154 Right = 223 End DisplayFlags = 280 TopColumn = 2 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequest_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequest_Available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "a" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 200 End DisplayFlags = 280 TopColumn = 6 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestDetail_available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestDetail_available' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[45] 4[18] 2[36] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutDetail" Begin Extent = Top = 23 Left = 26 Bottom = 288 Right = 188 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutRequest" Begin Extent = Top = 32 Left = 305 Bottom = 269 Right = 490 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutLog" Begin Extent = Top = 45 Left = 572 Bottom = 303 Right = 745 End DisplayFlags = 280 TopColumn = 3 End Begin Table = "v_wmsGoods" Begin Extent = Top = 276 Left = 306 Bottom = 509 Right = 496 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_Employee (deiniuPlatform.dbo)" Begin Extent = Top = 6 Left = 783 Bottom = 145 Right = 971 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestDetailLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestDetailLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestDetailLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[43] 4[29] 2[27] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutLog" Begin Extent = Top = 0 Left = 355 Bottom = 326 Right = 528 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_Employee (deiniuPlatform.dbo)" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 226 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2085 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestLog' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[60] 4[3] 2[32] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutRequest" Begin Extent = Top = 56 Left = 40 Bottom = 377 Right = 249 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickDetail" Begin Extent = Top = 60 Left = 350 Bottom = 396 Right = 571 End DisplayFlags = 280 TopColumn = 16 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 33 Left = 840 Bottom = 517 Right = 1085 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 184 Left = 577 Bottom = 476 Right = 802 End DisplayFlags = 280 TopColumn = 18 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 3720 Alias = 2865 Table = 3465 Output = 690 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestPick' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutRequestPick' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[46] 4[21] 2[21] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail_tmp" Begin Extent = Top = 6 Left = 38 Bottom = 254 Right = 242 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutSeedsGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutSeedsGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[50] 4[30] 2[13] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickDetail_tmp" Begin Extent = Top = 6 Left = 38 Bottom = 494 Right = 326 End DisplayFlags = 280 TopColumn = 10 End Begin Table = "t_node" Begin Extent = Top = 229 Left = 1258 Bottom = 368 Right = 1419 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node_1" Begin Extent = Top = 35 Left = 1257 Bottom = 174 Right = 1418 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 6 Left = 1003 Bottom = 281 Right = 1193 End DisplayFlags = 280 TopColumn = 28 End Begin Table = "t_wmsStockRecord" Begin Extent = Top = 87 Left = 488 Bottom = 573 Right = 684 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutDesk" Begin Extent = Top = 144 Left = 838 Bottom = 453 Right = 999 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutValidationException' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' Column = 4845 Alias = 3765 Table = 4695 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutValidationException' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutValidationException' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[65] 4[5] 2[30] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 281 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsStockRecord" Begin Extent = Top = 0 Left = 393 Bottom = 303 Right = 601 End DisplayFlags = 280 TopColumn = 1 End Begin Table = "t_wmsLocation" Begin Extent = Top = 75 Left = 718 Bottom = 321 Right = 890 End DisplayFlags = 280 TopColumn = 2 End Begin Table = "v_wmsGoods" Begin Extent = Top = 15 Left = 1142 Bottom = 355 Right = 1332 End DisplayFlags = 280 TopColumn = 18 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutWavePickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_stockOutWavePickDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[20] 2[30] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_tmsLineDetail" Begin Extent = Top = 6 Left = 38 Bottom = 281 Right = 199 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_customer" Begin Extent = Top = 181 Left = 242 Bottom = 320 Right = 396 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 6 Left = 429 Bottom = 145 Right = 590 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsLineDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsLineDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsLocation" Begin Extent = Top = 5 Left = 302 Bottom = 326 Right = 474 End DisplayFlags = 280 TopColumn = 13 End Begin Table = "v_tmsLineDetail" Begin Extent = Top = 6 Left = 38 Bottom = 327 Right = 199 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsLineLocation' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsLineLocation' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[42] 2[17] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 9 Left = 65 Bottom = 270 Right = 315 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_customer" Begin Extent = Top = 21 Left = 571 Bottom = 160 Right = 718 End DisplayFlags = 280 TopColumn = 2 End Begin Table = "t_tmsLineDetail" Begin Extent = Top = 175 Left = 360 Bottom = 449 Right = 521 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_stockOutPickVolumSum" Begin Extent = Top = 55 Left = 751 Bottom = 245 Right = 1006 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 220 Left = 592 Bottom = 359 Right = 753 End DisplayFlags = 280 TopColumn = 3 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2370 Alias = 900 Table = 3750 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequest' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequest' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequest' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[59] 4[22] 2[15] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsStockRecord" Begin Extent = Top = 41 Left = 590 Bottom = 382 Right = 831 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_wmsGoods" Begin Extent = Top = 34 Left = 904 Bottom = 496 Right = 1094 End DisplayFlags = 280 TopColumn = 20 End Begin Table = "t_wmsOutPickPort" Begin Extent = Top = 18 Left = 313 Bottom = 407 Right = 531 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 6 Left = 38 Bottom = 545 Right = 256 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 5745 Alias = 900 Table = 2550 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBatchDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBatchDetail' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[51] 4[26] 2[5] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_tmsPickRequestBatchDetail" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 358 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsLocation" Begin Extent = Top = 22 Left = 650 Bottom = 356 Right = 838 End DisplayFlags = 280 TopColumn = 15 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBatchSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBatchSum' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[53] 4[11] 2[19] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_tmsLineDetail" Begin Extent = Top = 32 Left = 762 Bottom = 344 Right = 923 End DisplayFlags = 280 TopColumn = 1 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 207 Left = 269 Bottom = 425 Right = 470 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_customer" Begin Extent = Top = 365 Left = 649 Bottom = 504 Right = 796 End DisplayFlags = 280 TopColumn = 2 End Begin Table = "t_tmsStock" Begin Extent = Top = 69 Left = 18 Bottom = 388 Right = 184 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsLocation" Begin Extent = Top = 23 Left = 419 Bottom = 162 Right = 591 End DisplayFlags = 280 TopColumn = 19 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBulks' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane2', @value=N' Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBulks' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=2 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBulks' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[42] 4[37] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_tmsStock" Begin Extent = Top = 25 Left = 38 Bottom = 303 Right = 199 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsLocation" Begin Extent = Top = 6 Left = 666 Bottom = 345 Right = 838 End DisplayFlags = 280 TopColumn = 13 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 79 Left = 369 Bottom = 339 Right = 605 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 3195 Alias = 900 Table = 4635 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBulks_2del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsPickRequestBulks_2del' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[52] 4[10] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_node" Begin Extent = Top = 10 Left = 409 Bottom = 299 Right = 570 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "v_tmsViechle" Begin Extent = Top = 22 Left = 760 Bottom = 330 Right = 955 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node_1" Begin Extent = Top = 180 Left = 283 Bottom = 319 Right = 444 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_tmsTranRequest" Begin Extent = Top = 6 Left = 38 Bottom = 340 Right = 199 End DisplayFlags = 280 TopColumn = 6 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1380 Alias = 1635 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranReqest' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranReqest' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[43] 4[43] 3[4] 2) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_tmsTranReqest" Begin Extent = Top = 6 Left = 38 Bottom = 271 Right = 233 End DisplayFlags = 280 TopColumn = 15 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 2175 Alias = 1860 Table = 2175 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequest4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequest4Wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[27] 2[13] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_tmsPickRequestBulks" Begin Extent = Top = 6 Left = 38 Bottom = 293 Right = 258 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1470 Table = 3315 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequestBulks4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequestBulks4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[35] 2[22] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_tmsTranRequestDetail" Begin Extent = Top = 6 Left = 38 Bottom = 304 Right = 244 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_wmsOutPickRequest" Begin Extent = Top = 23 Left = 539 Bottom = 332 Right = 796 End DisplayFlags = 280 TopColumn = 9 End Begin Table = "v_stockOutPickVolumSum" Begin Extent = Top = 180 Left = 337 Bottom = 382 Right = 503 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1410 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequestDetail4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsTranRequestDetail4wince' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[35] 4[44] 2[5] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_node_2" Begin Extent = Top = 294 Left = 410 Bottom = 433 Right = 571 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node_1" Begin Extent = Top = 150 Left = 410 Bottom = 289 Right = 571 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 5 Left = 488 Bottom = 144 Right = 649 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_tmsViechle" Begin Extent = Top = 6 Left = 38 Bottom = 292 Right = 199 End DisplayFlags = 280 TopColumn = 7 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 1665 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsViechle' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_tmsViechle' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[41] 4[21] 2[38] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "t_wmsGoods" Begin Extent = Top = 6 Left = 38 Bottom = 274 Right = 252 End DisplayFlags = 280 TopColumn = 9 End Begin Table = "v_erpGoods" Begin Extent = Top = 0 Left = 710 Bottom = 316 Right = 876 End DisplayFlags = 280 TopColumn = 10 End Begin Table = "t_node_1" Begin Extent = Top = 144 Left = 340 Bottom = 283 Right = 501 End DisplayFlags = 280 TopColumn = 0 End Begin Table = "t_node" Begin Extent = Top = 26 Left = 475 Bottom = 165 Right = 636 End DisplayFlags = 280 TopColumn = 0 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 4065 Alias = 4860 Table = 3615 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsGoods' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[40] 4[20] 2[20] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_stockGoods" Begin Extent = Top = 0 Left = 35 Bottom = 329 Right = 241 End DisplayFlags = 280 TopColumn = 29 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 12 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockByGoodsBatch' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockByGoodsBatch' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[28] 4[31] 2[23] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = Begin Table = "v_wmsStockByGoodsBatch" Begin Extent = Top = 6 Left = 38 Bottom = 145 Right = 291 End DisplayFlags = 280 TopColumn = 2 End Begin Table = "v_wmsGoods" Begin Extent = Top = 0 Left = 361 Bottom = 340 Right = 551 End DisplayFlags = 280 TopColumn = 17 End End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1635 Alias = 2310 Table = 2985 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockByGoodsBatchExt' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockByGoodsBatchExt' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPane1', @value=N'[0E232FF0-B466-11cf-A24F-00AA00A3EFFF, 1.00] Begin DesignProperties = Begin PaneConfigurations = Begin PaneConfiguration = 0 NumPanes = 4 Configuration = "(H (1[29] 4[23] 2[30] 3) )" End Begin PaneConfiguration = 1 NumPanes = 3 Configuration = "(H (1 [50] 4 [25] 3))" End Begin PaneConfiguration = 2 NumPanes = 3 Configuration = "(H (1 [50] 2 [25] 3))" End Begin PaneConfiguration = 3 NumPanes = 3 Configuration = "(H (4 [30] 2 [40] 3))" End Begin PaneConfiguration = 4 NumPanes = 2 Configuration = "(H (1 [56] 3))" End Begin PaneConfiguration = 5 NumPanes = 2 Configuration = "(H (2 [66] 3))" End Begin PaneConfiguration = 6 NumPanes = 2 Configuration = "(H (4 [50] 3))" End Begin PaneConfiguration = 7 NumPanes = 1 Configuration = "(V (3))" End Begin PaneConfiguration = 8 NumPanes = 3 Configuration = "(H (1[56] 4[18] 2) )" End Begin PaneConfiguration = 9 NumPanes = 2 Configuration = "(H (1 [75] 4))" End Begin PaneConfiguration = 10 NumPanes = 2 Configuration = "(H (1[66] 2) )" End Begin PaneConfiguration = 11 NumPanes = 2 Configuration = "(H (4 [60] 2))" End Begin PaneConfiguration = 12 NumPanes = 1 Configuration = "(H (1) )" End Begin PaneConfiguration = 13 NumPanes = 1 Configuration = "(V (4))" End Begin PaneConfiguration = 14 NumPanes = 1 Configuration = "(V (2))" End ActivePaneConfig = 0 End Begin DiagramPane = Begin Origin = Top = 0 Left = 0 End Begin Tables = End End Begin SQLPane = End Begin DataPane = Begin ParameterDefaults = "" End End Begin CriteriaPane = Begin ColumnWidths = 11 Column = 1440 Alias = 900 Table = 1170 Output = 720 Append = 1400 NewValue = 1170 SortType = 1350 SortOrder = 1410 GroupBy = 1350 Filter = 1350 Or = 1350 Or = 1350 Or = 1350 End End End ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockVSerp' GO EXEC sys.sp_addextendedproperty @name=N'MS_DiagramPaneCount', @value=1 , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'VIEW',@level1name=N'v_wmsStockVSerp' GO USE [master] GO ALTER DATABASE [deiniuWMS] SET READ_WRITE GO