Skip to Content
0
Former Member
Nov 25, 2007 at 10:01 PM

DI API Error Code - 1, Error Message - General Error while adding order

52 Views

Hi All,

While adding sales order using di api(in .net web application), i receives error(code-1, message-general error) if some particular items are inserted as line items. For all other items, it works fine.

I put code to export the order to be added as xml if its giving such error. Then I have written one vb code which accepts xml as input and adds order from it. I tried exported xml with this application and it worked, without any change in exported xml order.

So I thought if general error comes, .net web page should export order xml and import it again and then use add method. But its not working. Though exported xml gets imported and order gets created if I use the other vb code(i run this after some 5 to 10 min, after order is not created from web application).

Please help me out of this problem.

Thanks and Regards,

Yogesh.