USE [OPMS_Online] GO /****** Object: Table [dbo].[OTB_FNC_AccountReceivable] Script Date: 2017/9/25 ¤U¤È 06:46:25 ******/ Drop Table [dbo].[OTB_FNC_AccountReceivable] SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[OTB_FNC_AccountReceivable]( [AccountingBookID] [nvarchar](50) NOT NULL, [SalesOrderNo] [varchar](20) NOT NULL, [ProjectCName] [nvarchar](200) NOT NULL, [ReceiptNo] [varchar](20) NOT NULL, [CustomerID] [varchar](36) NOT NULL, [CustomerName] [varchar](30) NOT NULL, [ActualReceiptDate] [datetime] NOT NULL, [ActualReceiptedDate] [datetime] NULL, [ReceiptAmount] [varchar](50) NOT NULL, [ReceiveStatus] [char](1) NOT NULL, [Memo] [varchar](500) NULL, [CreateDate] [datetime] NOT NULL, [CreateUser] [varchar](50) NOT NULL, [ModifyDate] [datetime] NOT NULL, [ModifyUser] [varchar](50) NOT NULL, CONSTRAINT [PK_OTB_FNC_AccountReceivable] PRIMARY KEY CLUSTERED ( [ReceiptNo] 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