Added better error handling + added bulk handling of payable import BOD-152

This commit is contained in:
Patrick Fic
2020-06-04 09:52:17 -07:00
parent fe4cb24742
commit b9573b38f0
11 changed files with 202 additions and 27 deletions

View File

@@ -267,6 +267,60 @@ namespace BodyshopPartner.Properties {
}
}
/// <summary>
/// Looks up a localized string similar to Successfully connected to QuickBooks. Processing requests....
/// </summary>
public static string Msg_QbConnected_Msg {
get {
return ResourceManager.GetString("Msg_QbConnected_Msg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to QuickBooks Connection.
/// </summary>
public static string Msg_QbConnected_Title {
get {
return ResourceManager.GetString("Msg_QbConnected_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Please do not close ImEX Online or ImEX Partner during the connection process..
/// </summary>
public static string Msg_QbConnection_Msg {
get {
return ResourceManager.GetString("Msg_QbConnection_Msg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to QuickBooks Connection Request.
/// </summary>
public static string Msg_QbConnection_Title {
get {
return ResourceManager.GetString("Msg_QbConnection_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Successfully disconnected from QuickBooks..
/// </summary>
public static string Msg_QbDisconnection_Msg {
get {
return ResourceManager.GetString("Msg_QbDisconnection_Msg", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to QuickBooks Disconnection.
/// </summary>
public static string Msg_QbDisconnection_Title {
get {
return ResourceManager.GetString("Msg_QbDisconnection_Title", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Password.
/// </summary>

View File

@@ -186,6 +186,24 @@
<data name="Msg_NewJobUploadError" xml:space="preserve">
<value>Error uploading job.</value>
</data>
<data name="Msg_QbConnected_Msg" xml:space="preserve">
<value>Successfully connected to QuickBooks. Processing requests...</value>
</data>
<data name="Msg_QbConnected_Title" xml:space="preserve">
<value>QuickBooks Connection</value>
</data>
<data name="Msg_QbConnection_Msg" xml:space="preserve">
<value>Please do not close ImEX Online or ImEX Partner during the connection process.</value>
</data>
<data name="Msg_QbConnection_Title" xml:space="preserve">
<value>QuickBooks Connection Request</value>
</data>
<data name="Msg_QbDisconnection_Msg" xml:space="preserve">
<value>Successfully disconnected from QuickBooks.</value>
</data>
<data name="Msg_QbDisconnection_Title" xml:space="preserve">
<value>QuickBooks Disconnection</value>
</data>
<data name="Password" xml:space="preserve">
<value>Password</value>
</data>

View File

@@ -92,5 +92,17 @@ namespace BodyshopPartner.Properties {
this["AutoStartMonitor"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("")]
public string QuickBooksFilePath {
get {
return ((string)(this["QuickBooksFilePath"]));
}
set {
this["QuickBooksFilePath"] = value;
}
}
}
}

View File

@@ -20,5 +20,8 @@
<Setting Name="AutoStartMonitor" Type="System.Boolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="QuickBooksFilePath" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>