Warehouse Receipt Preview Posting Error in Warehouse Receipt in Microsoft Dynamics 365 Business Central

Microsoft Dynamics 365 Business CentralWhen writing this post on warehouse receipts I came across an oddity when previewing the posting of the receipt.

If I created a warehouse receipt for an order, I can successfully preview the posting; if I created a new receipt for a second receipt and did a preview of the posting, the preview was successful. However, if I created one receipt with both orders, then I received the following error:

Error when preview posting a warehouse receipt which includes two or more orders

The record in table Purch. Rcpt. Header already exists. Identification fields and values: No.='***'

I was able to replicate this error with any warehouse receipt containing two or more receipts. I spent a while investigating before realising that the issue was only with the posting preview; if I actually tried to post the receipt then the posting was successful.

I discussed this with a couple of colleagues and we all agree that it is odd, but it appears to be a designed behaviour. The *** in quotes doesn’t show anywhere on the receipt, it just seems to be a set of characters which it uses as a placeholder and which causes the error.

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Leave a Reply

Your email address will not be published. Required fields are marked *