-- =============================================
-- Author:		<YONATAN GAETE>
-- Create date: <19-06-2024>
-- Description:	<Lotes y Series Pretoma>
-- =============================================
CREATE PROCEDURE [dbo].[sp_invGrabarPretomaLotes]
(
@codbus Varchar(50) = '',
@serie Varchar(50) = '',
@lote Varchar(50) = '',
@fechaVencimiento Date,
@idLinea Varchar(50) = '',
@cantidad Decimal(18,4),
@numDoc INT = 0,
@numlinDoc INT = 0
)
AS
BEGIN
	INSERT INTO invPreTomaLotes
	VALUES (@codbus, @serie, @lote, @fechaVencimiento, @idLinea, @cantidad, @numDoc, @numlinDoc)
END