IF  NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA]') AND type in (N'U'))
begin
CREATE TABLE EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA(
	CD_EMP int NOT NULL CONSTRAINT DF_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA_CD_EMP  DEFAULT ((0)),
	CD_FILIAL int NOT NULL CONSTRAINT DF_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA_CD_FILIAL  DEFAULT ((0)),
	CD_CTR int NOT NULL CONSTRAINT DF_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA_CD_CTR  DEFAULT ((0)),
	NR_VOLUME int NOT NULL CONSTRAINT DF_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA_NR_VOLUME  DEFAULT ((0)),
	CD_USU int NOT NULL,
	CD_LACRE int NOT NULL CONSTRAINT DF_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA_CD_LACRE  DEFAULT ((0)),
 CONSTRAINT PK_EST_PROD_TRANSF_LACRE_NAO_CHECKIN_ENTRADA PRIMARY KEY CLUSTERED 
(
	CD_EMP ASC,
	CD_FILIAL ASC,
	CD_CTR ASC,
	CD_LACRE ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON))
end