This commit is contained in:
@@ -480,8 +480,7 @@ namespace AyaNova.PlugIn.QBOI
|
|||||||
TimeSpan retryInterval = new TimeSpan(0, 0, 0, 1);
|
TimeSpan retryInterval = new TimeSpan(0, 0, 0, 1);
|
||||||
SC.IppConfiguration.RetryPolicy = new Intuit.Ipp.Core.IntuitRetryPolicy(5, retryInterval);
|
SC.IppConfiguration.RetryPolicy = new Intuit.Ipp.Core.IntuitRetryPolicy(5, retryInterval);
|
||||||
|
|
||||||
//' For data updates, create DataService:
|
|
||||||
// Intuit.Ipp.DataService.DataService loDataService = new Intuit.Ipp.DataService.DataService(SC);
|
|
||||||
|
|
||||||
_AuthenticationCompleted = true;
|
_AuthenticationCompleted = true;
|
||||||
return true;
|
return true;
|
||||||
@@ -582,9 +581,7 @@ namespace AyaNova.PlugIn.QBOI
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//todo: call this from all over the place (i.e. before every api call) //and remove logging
|
|
||||||
RefreshTokens();
|
|
||||||
|
|
||||||
IntegrationLog.Log(QBID, "PFC: Authentication completed, validating company data");
|
IntegrationLog.Log(QBID, "PFC: Authentication completed, validating company data");
|
||||||
|
|
||||||
if (QBValidate() == pfstat.Cancel)
|
if (QBValidate() == pfstat.Cancel)
|
||||||
@@ -884,6 +881,8 @@ KEY: AssignedTime, VALUE: 12/08/2017 18:52:04
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
RefreshTokens();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
QueryService<q.CompanyInfo> entityQuery = new QueryService<q.CompanyInfo>(SC);
|
QueryService<q.CompanyInfo> entityQuery = new QueryService<q.CompanyInfo>(SC);
|
||||||
|
|||||||
Reference in New Issue
Block a user