Stored Procedures [dbo].[MssWebUpdateDocumentSendToCrew]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Parameters
NameData TypeMax Length (Bytes)
@inOrderIdint4
@inMssDocumentIdint4
@inSendToCrewbit1
Permissions
TypeActionOwning Principal
GrantExecuteMssExec
SQL Script

CREATE PROCEDURE [dbo].[MssWebUpdateDocumentSendToCrew]
    @inOrderId int,
    @inMssDocumentId int,
    @inSendToCrew bit
AS
BEGIN
set nocount on

UPDATE MSSDocument SET
    SendToCrew = @inSendToCrew
WHERE MSSDocument.MSSDocumentID = @inMssDocumentId AND
    MSSDocument.OrderFID = @inOrderId

END
GO
GRANT EXECUTE ON  [dbo].[MssWebUpdateDocumentSendToCrew] TO [MssExec]
GO
Uses