Error when creating purchase receipt from API when Default Receipt To location not allowing receipts

API: Purchase Order Version 8.95

Earlier, POST PurchaseReceipt with Default Receipt TO location gave an error message if the stock item had Default receipt to set to a location that does not allow receipts.
This has now been fixed.