diff --git a/ExecuteScript/17732-menu-disable.sql b/ExecuteScript/17732-menu-disable.sql index 59744b8..13ecc2a 100644 --- a/ExecuteScript/17732-menu-disable.sql +++ b/ExecuteScript/17732-menu-disable.sql @@ -20,10 +20,10 @@ select * from applicationmenus where menuname='JP Deposit List' --functionId='20 update applicationmenus set isactive='N' where functionId='20315000' select * from applicationmenus where menuname='Commission Group Mapping' --functionId='20131400' -update applicationmenus set isactive='N' where functionId='20131400' +update applicationmenus set isactive='Y' where functionId='20131400' select * from applicationmenus where menuname='Agent Commission rule' --functionId='20131500' -update applicationmenus set isactive='N' where functionId='20131500' +update applicationmenus set isactive='Y' where functionId='20131500' select * from applicationmenus where menuname='Cash Report New' --functionId='20520000' update applicationmenus set isactive='N' where functionId='20520000' diff --git a/ExecuteScript/ComplainceRule.txt b/ExecuteScript/ComplainceRule.txt new file mode 100644 index 0000000..d221efd --- /dev/null +++ b/ExecuteScript/ComplainceRule.txt @@ -0,0 +1,8 @@ +select * from staticdatatype where typeTitle ='Compliance Rule' + +select * FROM staticDataValue where typeid='4600' +UPDATE staticDataValue set isActive='Y' where valueId in(11311,11312,4603) +UPDATE staticDataValue set detailDesc='Number of transaction Per Receiver' where valueId in(11312) + + +UPDATE staticDataValue set isActive='N' where valueId in(11403) \ No newline at end of file diff --git a/StoredProc/PROC_DROPDOWN_LIST.sql b/StoredProc/PROC_DROPDOWN_LIST.sql new file mode 100644 index 0000000..84d3a2f Binary files /dev/null and b/StoredProc/PROC_DROPDOWN_LIST.sql differ diff --git a/StoredProc/PROC_DYNAMIC_TABLE.sql b/StoredProc/PROC_DYNAMIC_TABLE.sql new file mode 100644 index 0000000..ac7d0fd Binary files /dev/null and b/StoredProc/PROC_DYNAMIC_TABLE.sql differ diff --git a/StoredProc/PROC_MOBILE_DYNAMIC_RECEIVERDETAILS.sql b/StoredProc/PROC_MOBILE_DYNAMIC_RECEIVERDETAILS.sql new file mode 100644 index 0000000..6f0eeae Binary files /dev/null and b/StoredProc/PROC_MOBILE_DYNAMIC_RECEIVERDETAILS.sql differ diff --git a/StoredProc/PROC_TP_TXN_PUSH.sql b/StoredProc/PROC_TP_TXN_PUSH.sql new file mode 100644 index 0000000..f673de8 Binary files /dev/null and b/StoredProc/PROC_TP_TXN_PUSH.sql differ diff --git a/StoredProc/mobile_proc_TranHistory.sql b/StoredProc/mobile_proc_TranHistory.sql new file mode 100644 index 0000000..c5ba797 Binary files /dev/null and b/StoredProc/mobile_proc_TranHistory.sql differ diff --git a/StoredProc/mobile_proc_WalletStatement.sql b/StoredProc/mobile_proc_WalletStatement.sql new file mode 100644 index 0000000..b1defa3 Binary files /dev/null and b/StoredProc/mobile_proc_WalletStatement.sql differ diff --git a/StoredProc/mobile_proc_customerMaster.sql b/StoredProc/mobile_proc_customerMaster.sql index d322f39..5df197f 100644 Binary files a/StoredProc/mobile_proc_customerMaster.sql and b/StoredProc/mobile_proc_customerMaster.sql differ diff --git a/StoredProc/mobile_proc_customerMaster_V2.sql b/StoredProc/mobile_proc_customerMaster_V2.sql index d43ddf6..d17887d 100644 Binary files a/StoredProc/mobile_proc_customerMaster_V2.sql and b/StoredProc/mobile_proc_customerMaster_V2.sql differ diff --git a/StoredProc/proc_ApproveHoldedTXN.sql b/StoredProc/proc_ApproveHoldedTXN.sql index 57ac4a4..3537b15 100644 Binary files a/StoredProc/proc_ApproveHoldedTXN.sql and b/StoredProc/proc_ApproveHoldedTXN.sql differ diff --git a/StoredProc/proc_InsertRewardPoints.sql b/StoredProc/proc_InsertRewardPoints.sql index 69bad7d..f007909 100644 Binary files a/StoredProc/proc_InsertRewardPoints.sql and b/StoredProc/proc_InsertRewardPoints.sql differ diff --git a/StoredProc/proc_SendTransaction.sql b/StoredProc/proc_SendTransaction.sql index 5fef68e..053c12e 100644 Binary files a/StoredProc/proc_SendTransaction.sql and b/StoredProc/proc_SendTransaction.sql differ diff --git a/StoredProc/proc_customerKYC.sql b/StoredProc/proc_customerKYC.sql index 674d24c..5d1f1e1 100644 Binary files a/StoredProc/proc_customerKYC.sql and b/StoredProc/proc_customerKYC.sql differ diff --git a/StoredProc/proc_get_exrate_master.sql b/StoredProc/proc_get_exrate_master.sql index 80af1a5..48e763c 100644 Binary files a/StoredProc/proc_get_exrate_master.sql and b/StoredProc/proc_get_exrate_master.sql differ diff --git a/StoredProc/proc_online_core_customerSetup.sql b/StoredProc/proc_online_core_customerSetup.sql index c966791..c03d216 100644 Binary files a/StoredProc/proc_online_core_customerSetup.sql and b/StoredProc/proc_online_core_customerSetup.sql differ diff --git a/StoredProc/proc_online_receiverSetup.sql b/StoredProc/proc_online_receiverSetup.sql new file mode 100644 index 0000000..49ede1f Binary files /dev/null and b/StoredProc/proc_online_receiverSetup.sql differ diff --git a/StoredProc/proc_trust_payment.sql b/StoredProc/proc_trust_payment.sql index 58b0516..eabf874 100644 Binary files a/StoredProc/proc_trust_payment.sql and b/StoredProc/proc_trust_payment.sql differ diff --git a/rate.sql b/rate.sql index 7c8f303..b8dfdc1 100644 --- a/rate.sql +++ b/rate.sql @@ -74,11 +74,21 @@ SELECT * select * FROM agentmaster select * FROM dbo.FNAGetExRateDetails(3) - + + SELECT * + FROM AGENTMASTER(NOLOCK) + WHERE PARENTID = 394452 + AND ISNULL(ISSETTLINGAGENT, 'N') = 'Y'; + UPDATE AGENTMASTER ISSETTLINGAGENT='N' + select * FROM dbo.FNAGetBranchFullDetails(394452) + select * FROM TblPartnerwiseCountry(NOLOCK) WHERE CountryId = '104' + select * FROM dbo.FNAGetExRate('233', '0', '394395', 'GBP', '151', '394398', 'NPR', 1) - SELECT * FROM dbo.FNAGetExRate(223,394395,'','GBP',151,'394398','NPR',1) + select * FROM dbo.FNAGetExRate('233', '0', '394395', 'GBP', '151', '394398', 'NPR', 1) + + SELECT * FROM dbo.FNAGetExRate(233,394395,'','GBP',104,'394452','INR',1) SELECT * FROM agentMaster(NOLOCK) WHERE extCode = 'NP ANYWHERE' diff --git a/rewards.sql b/rewards.sql new file mode 100644 index 0000000..655a482 --- /dev/null +++ b/rewards.sql @@ -0,0 +1,44 @@ +EXEC PROC_TP_TXN_PUSH @flag='mark-paid', @PROVIDER='gmenepal',@statusDate='2023-09-27 12:03:38.937',@TRAN_ID='100000022' + +UPDATE remitTran set tranStatus='Payment',payStatus='Hold' +FROM remitTran where id='100000022' + +SELECT GETDATE() +select tranStatus,payStatus, * FROM remitTran where holdtranid='10000128' +select senderName, tranStatus,payStatus, * FROM remitTranTemp where id='10000128' +update remitTranTemp set senderName='luffy' where id='10000128' +select fullname, * FROM customermaster where customerid='48' + +select referelCode, referralId,* FROM customermaster where username='luffy@yopmail.com' +select referelCode, referralId,* FROM customermaster where username='test02@yopmail.com' +select referelCode, referralId,* FROM customermaster where membershipid='MOB000095' +select referelCode, referralId,* FROM customermaster where membershipid='mob000043' + +EXEC mobile_proc_customerMaster @flag='get-invite-details', @sourceCustomerId = '47' +EXEC mobile_proc_customerMaster @flag='get-invite-details', @sourceCustomerId = '48' + +EXEC mobile_proc_customerMaster @flag='get-invite-details', @sourceCustomerId = '77' +EXEC mobile_proc_customerMaster @flag='get-invite-details', @sourceCustomerId = '76' + EXEC proc_InsertRewardPoints @Flag = 'REGISTER', @CustomerId = 48, @ReferralId = 47 + +select * FROM Customer_Promotion where sourceCustomerId='48' + +select DBO.FNA_GET_AVAILABLE_BALANCE_POINTS(48) +select dbo.[FNAGetRewardPoints](48) + +UPDATE customermaster set bonusPoint=0 +--TRUNCATE TABLE Customer_Promotion +--delete FROM Customer_Promotion where referenceid='100000022' + + + DECLARE @senderId INT; + SELECT customerId FROM dbo.transenders (NOLOCK) + WHERE tranid = 100000022 + + EXEC proc_InsertRewardPoints @Flag = 'TRANSACTION', @CustomerId = 48, @TranId = 100000022 + EXEC proc_InsertRewardPoints @Flag = 'DEBIT', @CustomerId = 77, @rewardPoints = 1 + SELECT * + FROM Customer_Promotion (NOLOCK) + WHERE destinationCustomerId = 77 + and codeTYPE = 'REGISTRATION' and rewardType='REFER_EARN'; + \ No newline at end of file