Error in releasing landed costs with stock and not-stock items

Order To Cash: Purchase Order Version 9.37

There was an error when adding landed cost in the Purchase invoice (AP301000) window and when having a non-stock item and a stock item in the connected sales order. When releasing, there was an error message on missing purchase receipt.
This has now been fixed.