Hi all,
I have followed an example on a blog
http://d365technext.blogspot.com/2018/07/batch-multi-threading-d365fo-ax7.html
to replicate the multi threading process and i was successful in replicating the same which is given in the example and it is working fine as given in the blog and the data is getting inserted in the table.
how ever when i tried to use it in my customization it is not working
I have created 3 classes
1. main batch class class ELMOInvMultithreadBatch extends RunBaseBatch
i have debugged the code in visual studio during the batch process and found that debugger does not go into my 2nd class which is class ELMOINVTask extends RunBaseBatch and run method for the 2nd class is
public void run()
{
//SLD_DemoBusinessLogic SLDDemoBusinessLogic =new SLD_DemoBusinessLogic();
ELMOInvoiceXML ELMOInvoiceXML = new ELMOInvoiceXML();
try
{
ELMOInvoiceXML.processInit(filename);
info("2");
}
catch
{
info(strFmt("%1",xSession::xppCallStack()));
}
}
and hence my multi threading batch process is not working
*This post is locked for comments