/****** Object:  View [dbo].[V_EST_NF_ENT_DANFE_PROVISORIO_EST_PED_CP_PENDENTE]    Script Date: 11/12/2013 12:05:49 ******/
IF  EXISTS (SELECT * FROM sys.views WHERE object_id = OBJECT_ID(N'[dbo].[V_EST_NF_ENT_DANFE_PROVISORIO_EST_PED_CP_PENDENTE]'))
DROP VIEW [dbo].[V_EST_NF_ENT_DANFE_PROVISORIO_EST_PED_CP_PENDENTE]
GO
CREATE VIEW V_EST_NF_ENT_DANFE_PROVISORIO_EST_PED_CP_PENDENTE AS
SELECT
	P.CD_EMP,
	P.CD_FILIAL,
	P.CD_PED,
	P.CD_CTR
FROM
	EST_NF_ENT_DANFE_PROVISORIO_EST_PED_CP P INNER JOIN EST_NF_ENT_DANFE_PROVISORIO_PENDENTE D ON
	P.CD_CTR = D.CD_CTR 
