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.

50 lines
1.3 KiB

  1. USE [OPMS_Online]
  2. GO
  3. /****** Object: Table [dbo].[OTB_SAL_ReceiptPlan] 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_ReceiptPlan]
  11. CREATE TABLE [dbo].[OTB_SAL_ReceiptPlan](
  12. [AccountingBookID] [nvarchar](50) NOT NULL,
  13. [SalesOrderNo] [varchar](20) NOT NULL,
  14. [ItemNo] [varchar](20) NOT NULL,
  15. [Phase] [int] NOT NULL,
  16. [ReceiptNo] [varchar](50) NULL,
  17. [ReceiptItem] [varchar](50) NOT NULL,
  18. [ReceiptUnitPrice] [varchar](50) NULL,
  19. [ReceiptQuantity] [varchar](50) NULL,
  20. [RestReceipt] [varchar](50) NULL,
  21. [ExpectedReceiptDate] [datetime] NULL,
  22. [ActualReceiptDate] [datetime] NULL,
  23. [ExpectedReceiptedDate] [datetime] NULL,
  24. [ActualReceiptedDate] [datetime] NULL,
  25. [ReceiptAmount] [varchar](50) NULL,
  26. [Tax] [varchar] (50) NULL,
  27. [RestReceiptAmount] [varchar](50) NULL,
  28. [Memo] [varchar](500) NULL,
  29. [CreateDate] [datetime] NULL,
  30. [CreateUser] [varchar](50) NULL,
  31. [ModifyDate] [datetime] NULL,
  32. [ModifyUser] [varchar](50) NULL,
  33. CONSTRAINT [PK_OTB_SAL_ReceiptPlan] PRIMARY KEY CLUSTERED
  34. (
  35. [SalesOrderNo] ASC,
  36. [Phase] ASC
  37. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  38. ) ON [PRIMARY]
  39. GO
  40. SET ANSI_PADDING OFF
  41. GO