You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

26 lines
1.4 KiB

USE [FastMoneyPro_Remit]
GO
/****** Object: StoredProcedure [dbo].[INBOUND_PROC_DROPDOWN_LIST] Script Date: 9/27/2019 1:30:13 PM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE PROCEDURE [dbo].[INBOUND_PROC_DROPDOWN_LIST](
@flag VARCHAR(30)
)AS
BEGIN
IF @flag='country'
BEGIN
SELECT countryId,countryName FROM dbo.countryMaster(NOLOCK) WHERE ISNULL(isActive,'Y')='Y' AND ISNULL(isOperativeCountry,'N')='Y'
END
IF @flag='super-agent'
BEGIN
SELECT agentId,agentName FROM dbo.agentMaster(NOLOCK) WHERE ISNULL(isActive,'Y')='Y' AND parentId='0'
END
IF @flag='currency'
BEGIN
SELECT currencyId,currencyCode FROM dbo.currencyMaster(NOLOCK) WHERE ISNULL(isActive,'Y')='Y'
END
END
GO