Hi ,
I have created a batch that sends a master and its related records like invoices,cr. memos in xml format to an external app.My problem is that for sending these records i have to again create XML DOM object ,as to remove previous records i have to use CLEAR .Is it possible that i dont have to create XMLDOMDoc for every record but only once when the batch starts .The system throws an error that multiple root element cannot exist if i am not using clear.With clear things work fine in classic but RTC crashes ,i think due to overload of creating XMLDOm for all the related records .
Please suggest.
Thanks in advance
0
Comments
Also you can do exe upgrade to 2009 R2 and use dotNET data types.
Another option is that in you XMLDOM. there are function such as delete children. So you can delete all the nodes and create a new nodes. You could create a single instance CU. Also where are you instantiating the COM on RTC?
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n