diff --git a/GMENepal/GMENepalAPIService/GMENepalAPI.cs b/GMENepal/GMENepalAPIService/GMENepalAPI.cs index d209d93..c03923d 100644 --- a/GMENepal/GMENepalAPIService/GMENepalAPI.cs +++ b/GMENepal/GMENepalAPIService/GMENepalAPI.cs @@ -303,7 +303,7 @@ namespace GMENepal.GMENepalAPIService else { ThirdPartyRepo thirdPartyRepo = new ThirdPartyRepo(); - var resp = thirdPartyRepo.SyncTxnAsComment(gS.PartnerId, gS.ControlNo, gS.ControlNo, "", response.Msg); + var resp = thirdPartyRepo.SyncTxnAsComment(sendTransaction.ProviderId, sendTransaction.TranId.ToString(), gS.ControlNo, "", response.Msg); _response.ResponseCode = response.ResponseCode; _response.Msg = response.Msg; diff --git a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs index 3e75f2d..d09c526 100644 --- a/Repository/DAO/ThirdParty/ThirdPartyRepo.cs +++ b/Repository/DAO/ThirdParty/ThirdPartyRepo.cs @@ -1013,7 +1013,7 @@ namespace Repository.DAO.ThirdParty public TPResponse SyncTxnAsComment(string provider, string tranId, string ControlNo, string status, string msg) { - string sql = "EXEC PROC_TP_TXN_PUSH @flag='add-api-comment'"; + string sql = "EXEC PROC_TP_TXN_PUSH @flag='add-job-txn-comment'"; sql += ",@PROVIDER = " + FilterString(provider); sql += ",@TRAN_ID = " + FilterString(tranId); sql += ",@message = " + FilterString(msg);