
/***************************************
* STORED stp_TipoCella_updateQuery
*
* aggiorna tipo cella
*
* Steamware, S.E.L.
* mod: 2010.07.16
*
****************************************/
CREATE PROCEDURE stp_TipoCella_updateQuery
(
	@Original_IdxTipoCella INT,	
	@CodMag VARCHAR(50),
	@CodCS VARCHAR(2),	
	@Quantita INT,
	@Capienza INT,
	@Max_X FLOAT,
	@Max_Y FLOAT,
	@Max_Z FLOAT,
	@Max_Kg FLOAT,
	@CheckPiena BIT,
	@SetMag BIT
)

AS

UPDATE       TipoCella
SET          CodMag = @CodMag, CodCS = @CodCS, Quantita = @Quantita, Capienza = @Capienza, Max_X = @Max_X, Max_Y = @Max_Y, Max_Z = @Max_Z, 
             Max_Kg = @Max_Kg, CheckPiena = @CheckPiena, SetMag = @SetMag
WHERE        (IdxTipoCella = @Original_IdxTipoCella)

RETURN
