|
|
@ -1,3 +1,5 @@ |
|
|
|
|
|
|
|
|
|
|
|
ALTER PROC proc_sendRequest |
|
|
|
|
|
|
|
@flag VARCHAR(20) |
|
|
@ -24,6 +26,7 @@ ALTER PROC proc_sendRequest |
|
|
|
,@benefeciaryId BIGINT = NULL |
|
|
|
,@bankName VARCHAR(100) = NULL |
|
|
|
,@branchName VARCHAR(100) = NULL |
|
|
|
,@collMode VARCHAR(30) = NULL |
|
|
|
AS |
|
|
|
SET NOCOUNT ON ; |
|
|
|
SET XACT_ABORT ON; |
|
|
@ -46,14 +49,14 @@ BEGIN |
|
|
|
INSERT INTO send_money_request(IdNumber,MembershipId,ReceiverFullName,Receiveraddress |
|
|
|
,ReceiverMobileNumber,purposeOfRemittance,otherPurpose,relationShip,otherRelation,referralName |
|
|
|
,PCountryId,PmodeId,PagentId,BranchId,AccountNumber,CAmt,Tamt,ServiceCharge,createdby,createddate,BranchManual |
|
|
|
,pBankName, pBranchName |
|
|
|
,pBankName, pBranchName, collMode |
|
|
|
) |
|
|
|
values |
|
|
|
( |
|
|
|
@idNumber,@membershipId,@receiverFullName ,@receiveraddress |
|
|
|
,@receiverMobileNumber,@purposeOfRemittanceId,@otherPurposeOfRemittance,@relationShipId,@otherRelation,@referralName |
|
|
|
,@pCountryId ,@pModeId,@pagentId ,@branchId ,@accountNumber ,@cAmt ,@tamt ,@serviceCharge,@user,Getdate(),@branchManual, |
|
|
|
@bankName, @branchName |
|
|
|
@bankName, @branchName, @collMode |
|
|
|
) |
|
|
|
|
|
|
|
SET @rowId = @@IDENTITY |
|
|
@ -110,3 +113,4 @@ BEGIN |
|
|
|
WHERE receiverId = @benefeciaryId |
|
|
|
END |
|
|
|
END |
|
|
|
|