This commit is contained in:
@@ -498,7 +498,7 @@ namespace AyaNovaQBI
|
||||
Cancel = 2
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
@@ -1119,7 +1119,7 @@ namespace AyaNovaQBI
|
||||
"for invoices. If you do not use Invoice templates or are not sure what they are\r\n" +
|
||||
"select < Use default > from the list below.\r\n\r\n" +
|
||||
"This setting is required.";
|
||||
s3b.QBInvoiceTemplates = QBInvoiceTemplates;
|
||||
s3b.QBInvoiceTemplates = QBInvoiceTemplates;
|
||||
s3b.SelectedQBInvoiceTemplate = QDat.QBInvoiceTemplate;
|
||||
|
||||
if (s3b.ShowDialog() == DialogResult.Cancel)
|
||||
@@ -1317,7 +1317,19 @@ namespace AyaNovaQBI
|
||||
}
|
||||
#endregion validate user settings
|
||||
|
||||
|
||||
#region Integration object persistance
|
||||
public static async Task SaveIntegrationObject()
|
||||
{
|
||||
if (QDat.IsDirty)
|
||||
{
|
||||
await IntegrationLog("ValidateSettings: QBI settings modified by user, saving now");
|
||||
QBIntegration.IntegrationData = Newtonsoft.Json.JsonConvert.SerializeObject(QDat);
|
||||
}
|
||||
ApiResponse r = await PutAsync("integration", Newtonsoft.Json.JsonConvert.SerializeObject(QBIntegration));
|
||||
QBIntegration.Concurrency = r.ObjectResponse["data"]["concurrency"].Value<uint>();
|
||||
QDat.IsDirty = false;
|
||||
}
|
||||
#endregion integration object persistance
|
||||
|
||||
#region PFC QB side
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user