USE [LOGO_BAKI2018]
GO

/****** Object:  Table [dbo].[MS_B2B_ORDERLINES]    Script Date: 17.01.2026 01:03:38 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

CREATE TABLE [dbo].[MS_B2B_ORDERLINES](
	[LOGICALREF] [int] IDENTITY(1,1) NOT NULL,
	[INVOICEREF] [int] NULL,
	[STOCKREF] [int] NULL,
	[AMOUNT] [float] NULL,
	[PRICE] [float] NULL,
	[STATE] [int] NULL
) ON [PRIMARY]
GO

ALTER TABLE [dbo].[MS_B2B_ORDERLINES] ADD  DEFAULT ((0)) FOR [STATE]
GO


