CreatePROCEDURE[dbo].[MssWebCreateDocumentReceivedTask] @inOrderIdint, @inDocumentTypeIdint, @inCreatedBySysUserIdint, @inDocumentNamevarchar(128) AS Begin setnocounton execCreateDocumentReceivedTask@inOrderID, @inDocumentTypeID, @inCreatedBySysUserID, @inDocumentName; End GO GRANTEXECUTEON[dbo].[MssWebCreateDocumentReceivedTask]TO[MssExec] GO