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

  1. USE [OPMS_Online]
  2. GO
  3. /****** Object: Table [dbo].[OTB_SAL_PayPlan] Script Date: 2017/9/5 下午 06:19:37 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. SET ANSI_PADDING ON
  9. GO
  10. Drop Table [dbo].[OTB_SAL_PayPlan]
  11. CREATE TABLE [dbo].[OTB_SAL_PayPlan](
  12. [AccountingBookID] [nvarchar](50) NOT NULL,
  13. [SalesOrderNo] [varchar](20) NOT NULL,
  14. [ItemNo] [varchar](20) NOT NULL,
  15. [PhaseNo] [int] NOT NULL,
  16. [InvoiceNo] [varchar](50) NULL,
  17. [PayItem] [varchar](50) NOT NULL,
  18. [PayUnitPrice] [varchar](50) NULL,
  19. [PayQuantity] [varchar](50) NULL,
  20. [RestPay] [varchar](50) NULL,
  21. [ExpectedPayDate] [datetime] NULL,
  22. [ActualPayDate] [datetime] NULL,
  23. [PayAmount] [varchar](50) NULL,
  24. [RestPayAmount] [varchar](50) NULL,
  25. [Memo] [varchar](500) NULL,
  26. [CreateDate] [datetime] NULL,
  27. [CreateUser] [varchar](50) NULL,
  28. [ModifyDate] [datetime] NULL,
  29. [ModifyUser] [varchar](50) NULL,
  30. CONSTRAINT [PK_OTB_SAL_PayPlan] PRIMARY KEY CLUSTERED
  31. (
  32. [SalesOrderNo] ASC,
  33. [PhaseNo] ASC
  34. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  35. ) ON [PRIMARY]
  36. GO
  37. SET ANSI_PADDING OFF
  38. GO