Index: AXimpl/Dynamics/InventoryOut/EventHandler/ReceptieAfmelden.cls.xml =================================================================== diff -u -r72394 -r72404 --- AXimpl/Dynamics/InventoryOut/EventHandler/ReceptieAfmelden.cls.xml (.../ReceptieAfmelden.cls.xml) (revision 72394) +++ AXimpl/Dynamics/InventoryOut/EventHandler/ReceptieAfmelden.cls.xml (.../ReceptieAfmelden.cls.xml) (revision 72404) @@ -63,18 +63,13 @@ Do Generator.Generate(Request) } - try { - #dim BackgroundProcessStarter As TECH.impl.BackgroundProcessStarter = ##class(TECH.Context).Instance().GeefBackgroundJobAPI().GeefBackgroundProcessStarter() - Set DataBuilder = ##class(TECH.BackgroundProcess.impl.DataBuilder).%New() - Do DataBuilder.SetClassName(##class(BL.Legacy.EWPR).%ClassName(1)) - Do DataBuilder.SetMethodName("Zend") - Do DataBuilder.VoegToeDataType(ProductToelevLijnEvent.Data.GeefProductID()) - - Do BackgroundProcessStarter.StartProcess(DataBuilder.GetData()) - } catch { - #dim Exception As TECH.Exceptions.Exception = ##class(TECH.ExceptionHandler).Catch() - Do ##class(vhLib.Logger).%New().Warning("ReceptieAfmelden","Het bestand kon niet gegenereerd worden voor ProductId '"_ProductToelevLijnEvent.Data.GeefProductID()_"'") - } + #dim BackgroundProcessStarter As TECH.impl.BackgroundProcessStarter = ##class(TECH.Context).Instance().GeefBackgroundJobAPI().GeefBackgroundProcessStarter() + Set DataBuilder = ##class(TECH.BackgroundProcess.impl.DataBuilder).%New() + Do DataBuilder.SetClassName(##class(BL.Legacy.EWPR).%ClassName(1)) + Do DataBuilder.SetMethodName("Zend") + Do DataBuilder.VoegToeDataType(ProductToelevLijnEvent.Data.GeefProductID()) + + Do BackgroundProcessStarter.StartProcess(DataBuilder.GetData()) } } Else { Do ##class(vhLib.Logger).%New().Info("AXimpl.Dynamics.InventoryOut.EventHandler.ReceptieAfmelden", "ReceptieAfmeldenEvent geraised, maar handler 'ReceptieAfmelden' in deze runmode niet actief") Index: BL/Legacy/EWPR.cls.xml =================================================================== diff -u -r72394 -r72404 --- BL/Legacy/EWPR.cls.xml (.../EWPR.cls.xml) (revision 72394) +++ BL/Legacy/EWPR.cls.xml (.../EWPR.cls.xml) (revision 72404) @@ -8,7 +8,12 @@ ProductId:%String,Forced:%Boolean=1