Purchase Receipt - Get Items from Invoice not working


I am facing issue while trying to creating purchase receipt. After I create a purchase invoice and then create a purchase receipt for that invoice, the Items are not fetched automatically. Even after clicking on Get items From invoice it is blank. Any help would be really great.