Retail_manager/RMData/dbo/Tables/SaleDetail.sql
s459315 f582cf6653 Register DB Tables
Tables for the basic register system.
2022-07-05 13:54:10 +02:00

11 lines
254 B
Transact-SQL

CREATE TABLE [dbo].[SaleDetail]
(
[Id] INT NOT NULL PRIMARY KEY IDENTITY,
[SaleId] INT NOT NULL,
[ProductId] INT NOT NULL,
[Quantity] INT NOT NULL DEFAULT 1,
[PurchasePrice] MONEY NOT NULL,
[Tax] MONEY NOT NULL DEFAULT 0,
)