When 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:
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.