Retail_manager/RMData/dbo/Stored Procedures/spSaleDetailInsert.sql
s459315 f0bea75284 Add Saving Cart to the DB
All the changes necessary to save shopping cart to DB
2022-07-25 17:02:36 +02:00

14 lines
300 B
Transact-SQL

CREATE PROCEDURE [dbo].[spSaleDetailInsert]
@SaleId int,
@ProductId int,
@Quantity int,
@PurchasePrice money,
@Tax money
AS
BEGIN
SET NOCOUNT ON;
INSERT INTO dbo.SaleDetail(SaleId, ProductId, Quantity, PurchasePrice, Tax)
VALUES (@SaleId, @ProductId, @Quantity, @PurchasePrice, @Tax)
END