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.
25 lines
1.1 KiB
25 lines
1.1 KiB
USE [FastMoneyPro_Remit]
|
|
GO
|
|
/****** Object: StoredProcedure [dbo].[proc_GetPayAmountLimit] Script Date: 9/27/2019 1:30:14 PM ******/
|
|
SET ANSI_NULLS ON
|
|
GO
|
|
SET QUOTED_IDENTIFIER ON
|
|
GO
|
|
CREATE proc [dbo].[proc_GetPayAmountLimit]
|
|
@user VARCHAR(30) = NULL
|
|
,@agentGroup VARCHAR(20) = NULL
|
|
,@controlNo VARCHAR(20) = NULL
|
|
|
|
AS
|
|
SET NOCOUNT ON;
|
|
DECLARE @tranType VARCHAR(50)
|
|
SELECT @tranType = tranType FROM remitTran (NOLOCK) WHERE controlNo = dbo.encryptDb(@controlNo)
|
|
IF ISNULL(@tranType, 'I') = 'I'
|
|
SELECT 200000 amt
|
|
ELSE
|
|
SELECT 900000 amt
|
|
|
|
|
|
|
|
|
|
GO
|