USE [LOGO_BAKI2018]
GO

/****** Object:  Table [dbo].[MS_B2B_CONFIG]    Script Date: 17.01.2026 01:00:52 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[MS_B2B_CONFIG](
	[LOGICALREF] [int] IDENTITY(1,1) NOT NULL,
	[ID] [uniqueidentifier] ROWGUIDCOL  NULL,
	[FIRMA] [varchar](3) NULL,
	[DONEM] [varchar](3) NULL,
	[ITEMSTOCKMIN] [int] NULL,
	[ITEMSTOCKMAX] [int] NULL,
	[MATURITY] [int] NULL,
	[ADMINMAIL] [varchar](max) NULL,
	[TOPTENYEAR] [int] NULL,
	[TOPTENMONTH] [int] NULL,
 CONSTRAINT [PK_MS_B2B_CONFIG] PRIMARY KEY CLUSTERED 
(
	[LOGICALREF] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO

ALTER TABLE [dbo].[MS_B2B_CONFIG] ADD  CONSTRAINT [DF_MS_B2B_CONFIG_ID]  DEFAULT (newid()) FOR [ID]
GO


