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.
 
 

43 lines
1.1 KiB

USE [OPMS_Online]
GO
/****** Object: Table [dbo].[OTB_FNC_AccountPayable] Script Date: 2017/9/25 ¤U¤È 06:46:25 ******/
Drop Table [dbo].[OTB_FNC_AccountPayable]
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[OTB_FNC_AccountPayable](
[AccountingBookID] [nvarchar](50) NOT NULL,
[SalesOrderNo] [varchar](20) NOT NULL,
[ProjectCName] [nvarchar](200) NOT NULL,
[InvoiceNo] [varchar](20) NOT NULL,
[CustomerID] [varchar](36) NOT NULL,
[CustomerName] [varchar](30) NOT NULL,
[ActualPayDate] [datetime] NOT NULL,
[ActualPaiedDate] [datetime] NULL,
[PayAmount] [varchar](50) NOT NULL,
[PayStatus] [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_AccountPayable] PRIMARY KEY CLUSTERED
(
[InvoiceNo] 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