2020-12-04 10.14.sql 792 B

1234567891011121314151617181920212223242526
  1. USE [befri_Goldhoo]
  2. GO
  3. /****** Object: UserDefinedTableType [Discount].[DiscountRecLineRows] Script Date: 2020/12/4 10:12:51 ******/
  4. CREATE TYPE [Discount].[DiscountRecLineRows] AS TABLE(
  5. [DiscountRecLineId] [int] NOT NULL,
  6. [DiscountRecId] [int] NOT NULL,
  7. [InventoryId] [int] NOT NULL,
  8. [InventoryNumber] [varchar](20) NULL,
  9. [InventoryName] [nvarchar](50) NULL,
  10. [Spec] [varchar](200) NULL,
  11. [BatchNumber] [varchar](20) NULL,
  12. [IncreasedQty] [numeric](9, 0) NOT NULL,
  13. [DecreasedQty] [numeric](9, 0) NOT NULL,
  14. [DiscountCoef] [numeric](5, 2) NULL,
  15. [IncreasedPrice] [money] NULL,
  16. [DecreasedPrice] [money] NULL,
  17. [IncreasedMoney] [money] NULL,
  18. [DecreasedMoney] [money] NULL,
  19. [LineStatus] [tinyint] NULL,
  20. [VersionNumber] [smallint] NULL,
  21. [Description] [nvarchar](200) NULL
  22. )
  23. GO