You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

47 lines
1.1 KiB

USE [OPMS_Online]
GO
/****** Object: Table [dbo].[OTB_SAL_PayPlan] Script Date: 2017/9/5 下午 06:19:37 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
Drop Table [dbo].[OTB_SAL_PayPlan]
CREATE TABLE [dbo].[OTB_SAL_PayPlan](
[AccountingBookID] [nvarchar](50) NOT NULL,
[SalesOrderNo] [varchar](20) NOT NULL,
[ItemNo] [varchar](20) NOT NULL,
[PhaseNo] [int] NOT NULL,
[InvoiceNo] [varchar](50) NULL,
[PayItem] [varchar](50) NOT NULL,
[PayUnitPrice] [varchar](50) NULL,
[PayQuantity] [varchar](50) NULL,
[RestPay] [varchar](50) NULL,
[ExpectedPayDate] [datetime] NULL,
[ActualPayDate] [datetime] NULL,
[PayAmount] [varchar](50) NULL,
[RestPayAmount] [varchar](50) NULL,
[Memo] [varchar](500) NULL,
[CreateDate] [datetime] NULL,
[CreateUser] [varchar](50) NULL,
[ModifyDate] [datetime] NULL,
[ModifyUser] [varchar](50) NULL,
CONSTRAINT [PK_OTB_SAL_PayPlan] PRIMARY KEY CLUSTERED
(
[SalesOrderNo] ASC,
[PhaseNo] 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