[Bug]: New Create PO for Dropshipment fails if a customer ship-to location is specified on the sales order
Describe the issue
There are some inflexible aspects to the new functionality where business assumptions and discussion have missed context. The highest priority is that if a customer ship-to location is selected the PO does not get created and reports an error that the Purchase Order does not have a matching location.
We also observe an artificial constraint of requiring the same unit of measure on both purchase and sales documents, although it is well understood the conversation, or the system could just override the default purchase unit of measure with what is on the sales order.
we have tested manually bringing in a drop ship sales line onto a purchase order created with the right ship-to location to check that this still works.
Expected behavior
A purchase order with the right customer and ship-to location gets created together with the relevant sales lines for the vendor together with the correct pricing and quantity.
Steps to reproduce
Create a sales order, select an alternative ship-to address, select create PO, on planning worksheet dialog press okay. Will get an error.
Additional context
No response
I will provide a fix for a bug
- [x] I will provide a fix for a bug
Internal work item: AB#635884.
:robot: AI triage completed. Product group, please validate the triage report (Microsoft internal access only, use Ctrl+Click to open in new tab).
Was this triage helpful? React with :thumbsup: or :thumbsdown: on this comment to provide feedback.
We retrieved the same error tfbtrading has reported:
The process stops here:
It seems because the system is not filling previously the Ship-to code here:
Sorry we haven't progressed, but our view it is a missing code in the insertPurchase Header where it is not picking up the ship-to location code on the sales order. This was correct in the old requisition worksheet, however we note it fails everywhere now. Manual workaround is to create a purchase order with the correct ship-to location for the customer and manually get drop ship lines from sales order. This should be considered a high priority defect to fix.
This issue has been addressed and will release as a hotfix with version 28.3. Internal reference: AB#635884.