Updated 29-09-23 with information about Posting of Purchase Invoice.
When using Intercompany to make a Purchase in your Partner Company, and receiving the goods at your own location (as apposed to the goods being send directly to the customer) there are some scenarios to take into consideration, when orders are received partially.
If the inbox is handled ( either manually og automatically) and the receipt is not yet posted, before the next inbox transaction is handled. This information, about qty to receipt and Item racking, from the first inbox handled transaction are overwritten. And must be added manually for the lines to be received.
There are two scenarios where is it more likely to happen.
Auto import inbox "Sales" is set to No handling.
On the partner card in the Sales Company with the setup and Auto import inbox is set to "No handling" and Purchase receipt is not set to be posted automatically.
If we handle our inbox manually, there are a chance that we accept both lines at the same time. This means that the receipts are not posted in between the update of the Purchase order, triggered from the inbox handling, and the first update is lost, and must be added manually, when receiving the goods.
Manual posting of Purchase receives in Sales Company.
On the partner card in the Sales Company with the setup and Auto import inbox is set to "Handle with Web Service" and Purchase receipt is not set to be posted automatically.
In this setup, the Purchase Order in the Sales Company will automatically we updated when the Sales order in Supply Company is shipped. But if the Supply Company ships another shipment, before the Sales company post the receipt manfully, the same issue will happen.
Posting of Purchase Invoice with Partiel Receipt
If you ship partial deliveries from Supply, but only invoice collectively when the final shipment are made, an error in Sales will be occurring.
The reason for this, is that Business Central can't hold more then one Receipt no, on the Item line. It is in this case necessary to split the item line manually.
Use Ship and Invoice in Supply Company.
When shipping partially and using "Ship and Invoice", a Purchase Invoice will be created and match each receipt - and the issues from above will not occur. We there fore recommend to use "Ship and Invoice".
How to handle the Purchase Invoice, when shipping multiple times and lastly Invoice in the Supply Company.
If you only use "ship" on the Sales Order in Supply Company, when partially shipping- there will be issues when posting the Purchase Invoice, due to multiple receipts numbers.
When posting the Purchase Invoice an error will be shown:
As this order has been shipped on more then one receipt- but there are only place for one receipt no on the line. We can't post.
How to handle:
On the Purchase Invoice Line, click on Edit Receipt No.
Clear Filter on Quantity
Select the Posted Purchase Receipt, take notice of the Quantity and click on OK
Edit the Quantity to match, the Quantity on the Receipts.
Add another Item line with the same Item no, and do the process once more.
Now you can post the Purchase Invoice.