When you add lines to a Sales Order or Purchase Order, the SAP Connector updates the existing lines instead of adding new ones

Symptom

The SAP B1 Connector tool is configured to update the Sales Order or Purchase Order object, and the DocEntry is mapped to make it find the correct Order. However, when you add new lines it updates the existing lines instead of adding new ones

Cause

The default behaviour for the connector tool is to update existing lines using the relevant line number. Therefore default behaviour does not allow for adding new lines.

Resolution

You need to pass -1 as the linenum so that the tools know that you want to add lines.

SAP Business One Integration Brochure

SAP Business One Integration Brochure

Learn how integrating SAP Business One with other business applications or web services will save your company time and money.

Download Brochure