I have a tool that creates Sales Orders and Customers in Sage MAS 100 ERP 2013 through the E-Business Web Services. These Sales Orders and Customers come from an E-Commerce website. Sometimes, the Billing and Shipping addresses are the same, and at other times they are different. Normally, this is not an issue, but I have come across an exception. I know that my tool is not causing the issue in this case, and I have isolated it to the E-Business Web Services. I am wondering if anyone else has run across this issue and/or if anyone knows a work-around.
Issue: When the Customer Address (Using Billing Address as Customer Address) contains two (2) lines (e.g. Customer.AddressLine1 & Customer.AddressLine2) but the ShipToAddress2 is null on the order, the second address line from the Customer record (BillToAddress2) is inserted into ShipToAddress2, creating an address that does not exist (With ShipToAddress1 being correct, and ShipToAddress2 being the value in Customer.AddressLine2).
For example:
Billing/Customer Address
123 Fake St
Apt. 8
Smallville, WI 50010
Combined with:
Shipping Address
110 Real St
OtherSmallTown, WI 50011
Becomes this in Sales Order Entry:
110 Real St
Apt 8
OtherSmallTown, WI 50011