﻿USE [FabApprovalSystem]
GO
	/****** Object:  StoredProcedure [dbo].[MRBInsertDispositionByMRB]    Script Date: 11/21/2024 11:29:05 AM ******/
SET
	ANSI_NULLS ON
GO
SET
	QUOTED_IDENTIFIER ON
GO
	CREATE PROCEDURE [dbo].[MRBInsertDispositionByMRB] @DispositionID INT OUT,
	@MRBNumber INT,
	@DispositionType CHAR(1),
	@DispositionName VARCHAR(50),
	@DispositionNotes VARCHAR(500),
	@CloseToQDBOptionID int = 0 AS BEGIN -- 2019-04-19 TR: add CloseToQDB parm ticket #35349
SET
	NOCOUNT ON;

-- Insert statements for procedure here
INSERT INTO
	MRBDispositionByMRB (
		MRBNumber,
		DispositionType,
		DispositionName,
		DispositionNotes,
		CloseToQDBOptionID
	)
VALUES
	(
		@MRBNumber,
		@DispositionType,
		@DispositionName,
		@DispositionNotes,
		@CloseToQDBOptionID
	)
SET
	@DispositionID = SCOPE_IDENTITY()
END
GO