Retail_manager/RMData/dbo/Stored Procedures/spSaleDetailInsert.sql

14 lines
300 B
MySQL
Raw Normal View History

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