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.

100 lines
2.8 KiB

1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
  1. EXEC proc_get_exRate_master @flag = 'False'
  2. , @user = 'arjundhami554@gmail.com'
  3. , @sCountryId = '113'
  4. , @sAgent = '0'
  5. , @sSuperAgent = '393877'
  6. , @sBranch = '394395'
  7. , @senderId = '0'
  8. , @collCurr = 'GBP'
  9. , @pCountryId = '151'
  10. , @pCountry = 'Nepal'
  11. , @pAgent = '0'
  12. , @pCurr = 'NPR'
  13. , @deliveryMethodId = '1'
  14. , @cAmt = '0.0'
  15. , @pAmt = '100000.0'
  16. , @calBy = 'p'
  17. , @couponCode = null
  18. , @schemeId = null
  19. , @payOutPartner = '0'
  20. , @paymentType = null
  21. , @cardOnline = null
  22. , @TPexRate = null
  23. , @isManualSc = 'N'
  24. , @manualSc = '0.0'
  25. , @ProcessFor = 'dashboard'
  26. , @discountedFee = '0.0'
  27. EXEC proc_get_exRate_master @flag = 'False'
  28. ,@user = 'saraadhikari45@gmail.com'
  29. ,@sCountryId = '113'
  30. ,@sAgent = '0'
  31. ,@sSuperAgent = '393877'
  32. ,@sBranch = '394395'
  33. ,@senderId = '0'
  34. ,@collCurr = 'JPY'
  35. ,@pCountryId = '203'
  36. ,@pCountry = 'Vietnam'
  37. ,@pAgent = '0'
  38. ,@pCurr = 'VND'
  39. ,@deliveryMethodId = '1'
  40. ,@cAmt = '0.0'
  41. ,@pAmt = '50000000.0'
  42. ,@calBy = 'p'
  43. ,@couponCode = NULL
  44. ,@schemeId = NULL
  45. ,@payOutPartner = '0'
  46. ,@paymentType = NULL
  47. ,@cardOnline = NULL
  48. ,@TPexRate = NULL
  49. ,@isManualSc = 'N'
  50. ,@manualSc = '0.0'
  51. ,@ProcessFor = 'dashboard'
  52. ,@discountedFee = '0.0'
  53. /****** Script for SelectTopNRows command from SSMS ******/
  54. SELECT tranType,pAgent,*
  55. FROM [FastMoneyPro_Remit].[dbo].[exRateTreasury] where pCountry='151'
  56. --UPDATE [exRateTreasury] set cAgent=NULL where pCountry='151'
  57. --delete from [exRateTreasury] where exRateTreasuryId='3'
  58. /****** Script for SelectTopNRows command from SSMS ******/
  59. SELECT *
  60. FROM [FastMoneyPro_Remit].[dbo].[defExRate]
  61. SELECT pAgent,* FROM exRateTreasury WITH(NOLOCK) WHERE ISNULL(isActive, 'N') = 'Y'
  62. AND cCurrency = 'GBP' AND pCurrency = 'NPR' AND cAgent = '394395' AND (pAgent=394398)
  63. AND (pCountry = 151)
  64. SELECT exRateTreasuryId,* FROM exRateTreasury WITH(NOLOCK) WHERE ISNULL(isActive, 'N') = 'Y'
  65. AND cCurrency = 'GBP' AND pCurrency = 'NPR' AND cAgent = '394395' AND pAgent = '394398' AND tranType IS NULL
  66. select * FROM agentmaster
  67. select * FROM dbo.FNAGetExRateDetails(3)
  68. SELECT *
  69. FROM AGENTMASTER(NOLOCK)
  70. WHERE PARENTID = 394452
  71. AND ISNULL(ISSETTLINGAGENT, 'N') = 'Y';
  72. UPDATE AGENTMASTER ISSETTLINGAGENT='N'
  73. select * FROM dbo.FNAGetBranchFullDetails(394452)
  74. select * FROM TblPartnerwiseCountry(NOLOCK) WHERE CountryId = '104'
  75. select * FROM dbo.FNAGetExRate('233', '0', '394395', 'GBP', '151', '394398', 'NPR', 1)
  76. select * FROM dbo.FNAGetExRate('233', '0', '394395', 'GBP', '151', '394398', 'NPR', 1)
  77. SELECT * FROM dbo.FNAGetExRate(233,394395,'','GBP',104,'394452','INR',1)
  78. SELECT *
  79. FROM agentMaster(NOLOCK)
  80. WHERE extCode = 'NP ANYWHERE'
  81. SELECT *
  82. FROM TblPartnerwiseCountry(NOLOCK)
  83. WHERE CountryId = '151'
  84. AND IsActive = 1
  85. AND ISNULL(IsMobileEnabled, 0) = 1
  86. AND ISNULL(PaymentMethod, @deliveryMethodId) = @deliveryMethodId