Options

SOAP SalesOrder Multiple Line Error.

Hi All,

We have a link setup from an external system in to NAV using web services, however we have a rather strange error when it comes to orders with more that 4x item lines, our process for interacting with the SalesOrder web service goes as:

1. Create order header
2. Loop through the ordered products and:
2.a. Create a Blank order item line.
2.b Update the blank line with the data.

The NAV system simply hangs (or doesnt respond via the web service request) on the 5th iteration of 2.b.

The order creates fine if its created manually in the NAV GUI.
The item No. cant be at fault as we’ve mixed up the order of the lines and tried several different orders with different No.’s however every time it stops on that 5th 2.b.

Is there any NAV logs that I can try to retrieve on the NAV server that might help?, or is their like a really basic/obvious setting that someones missed that may cause such an error on the SOAP server?

Andy

Answers

  • Options
    kalyankandimallakalyankandimalla Member Posts: 56
    Hi,

    Can you please check the eventviewer in the system where NAV Service instance is installed.

    Also you can go to the CustomSettings.Config file in service folder and change the file size property. As the size NAV is accessing is limited to 5MB and may be the sales order size you are creating is more than what NAV is expecting.

    Hope this helps.
Sign In or Register to comment.