SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE PROCEDURE [dbo].[p_grid_nm_invoices_nm_monthly_payments_statuses]
	@monthly_payment_status_code AS ais_code_short  = '%' 
AS
BEGIN
	SET NOCOUNT ON

	SELECT	*
	FROM nm_invoices_nm_monthly_payments_statuses
	WHERE @monthly_payment_status_code = '%' OR nminmps_monthly_payment_status_code = @monthly_payment_status_code
END
GO
