Hi,
We have a solution running live integration framework 2. We want to stop an order if the ERP fails, but the code checks this boolean to see if it should throw an error:
public static bool EnableThrowExceptions { get { return Core.Converter.ToBoolean(Context.Current?.Items?["LiveIntegrationAddInThrowExceptions"]); } set { if (Context.Current?.Items != null) { Context.Current.Items["LiveIntegrationAddInThrowExceptions"] = value; } } }
I can't find anything setting the "LiveIntegrationAddInThrowExceptions" anywhere, and so it returns false, and the exceptions are never thrown, and the order completes as usual, even if the ERP fails.
Where can I enable this setting?
Kind regards
Mikkel Ulstrup