We have had a long standing issue with the BC webservices when modifying sales lines. We are using page 6403 Sales Document Line Entity to modify and insert the lines. When ever we modify the sales lines for certain items we encounter an error which states Warehouse Shipment required for Line No. = .... It only happens for certain items and I cannot figure out what is different about these items and those that are successfully modified.
I finally figured out what is happening. We have our items setup with a purchasing code of DROP SHIP, WAREHOUSE or BLANK (Empty string). When the item is inserted into the sales line the purchasing code defaults from the item card. If the purchasing code is set to WAREHOUSE or BLANK, when the item is inserted into the sales line BC issues a pop-up warning to the user saying "Warehouseshipment required for Line No. = xxxxx". If the purchasing code is set to DROP SHIP on the item card, the item is inserted and the purchasing code is then updated after insert the pop up does not appear. Any user interaction pop-up will cause the web service to fail as you cannot interact with this from the web service. I figure there is an issue with how our purchasing codes are setup, but haven't had time to dig into this anymore. I hope this helps someone in the future.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.