SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO





ALTER VIEW [dbo].[AccDocumentGoodsPhase2]
AS
SELECT Docs.ID, Docs.Number, Docs.UserNumber, Docs.DocDate, Docs.Flags, 
    Docs.IsPermanent, Docs.ItemID, Docs.TotalID, Docs.ControlID, Docs.DetailID1, 
    Docs.DetailID2, Docs.Credit, Docs.Debit, Docs.Description, Docs.Selected, 
    Docs.DocDatePer, Docs.TotalCode, Docs.ControlCode, Docs.DetailCode1, Docs.DetailCode2, 
    Docs.AccTitle, Docs.RelationID, Docs.ShowOrder, Docs.CostCenter, 
    Docs.Project, Docs.Detail2Title, Docs.TempNumber, Docs.TempDate,
	Docs.Detail1Title, Docs.ControlTitle, Docs.TotalTitle, Docs.Confirmed
FROM  dbo.AccDocumentGoodsPhase1 as Docs WITH (NOLOCK) 
GO


