-- =============================================
-- Author:		Marian Zaki
-- Create date: 29/11/2010
-- Description:	Checks for data validation 
-- =============================================
CREATE procedure [C6MartPeriodico].[CHECK_INSERT_CTV_PER_AREA]
-- Add the parameters for the stored procedure here
@Rete char(1), 
@CodiceFiscale varchar(16),
@NeedArea varchar(20),
@S57CTV decimal(38,3),
@S43CTV decimal(38,3)
AS
BEGIN
insert into  Check_DifferenceInCTVPerClientPerArea([RETE] ,[Cod_Fiscale] ,[NeedArea] ,[S57CTV] ,[S43CTV]) 
VALUES ( @Rete, @CodiceFiscale,  @NeedArea,@S57CTV , @S43CTV )
END