Symptom:

After creating Warehouse Receipt from Transfer Orders. A notification will pop up saying "X Warehouse Receipt Header has been created.".

After clicking "OK", a message will pop up saying "The record that you tried to open is not available. The page will close or show the next record."


Solution: 

Add the Location to "Warehouse Employee".