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.

45 lines
1.1 KiB

  1. USE [OPMS_Online]
  2. GO
  3. /****** Object: Table [dbo].[OTB_FNC_AccountingJournal] Script Date: 2018/2/10 下午 03:08:56 ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. SET ANSI_PADDING ON
  9. GO
  10. CREATE TABLE [dbo].[OTB_FNC_AccountingJournal](
  11. [AccountingBookID] [varchar](20) NOT NULL,
  12. [AccountingID] [varchar](11) NOT NULL,
  13. [AccountingDate] [datetime] NOT NULL,
  14. [AccountingOrder] [int] NOT NULL,
  15. [AccountingSubID] [varchar](50) NOT NULL,
  16. [AccountingSubName] [varchar](50) NOT NULL,
  17. [Debit] [varchar](50) NULL,
  18. [Credit] [varchar](50) NULL,
  19. [ProjectNumber] [varchar](50) NULL,
  20. [ProjectCName] [varchar](50) NULL,
  21. [Memo] [varchar](500) NULL,
  22. [ClosedAccounting] [char](1) NULL,
  23. [CreateDate] [datetime] NULL,
  24. [CreateUser] [varchar](50) NULL,
  25. [ModifyDate] [datetime] NULL,
  26. [ModifyUser] [varchar](50) NULL,
  27. CONSTRAINT [PK_OTB_FNC_AccountingJournal] PRIMARY KEY CLUSTERED
  28. (
  29. [AccountingBookID] ASC,
  30. [AccountingID] ASC,
  31. [AccountingSubID] ASC,
  32. [AccountingOrder] ASC
  33. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  34. ) ON [PRIMARY]
  35. GO
  36. SET ANSI_PADDING OFF
  37. GO