To resolve the issue in your fund, we have prepared an article for the adjusting entries that are recorded:
https://360help.com.au/display/SF360SC/Accounting+Cost+remains+for+an+Investment+after+being+fully+disposed+of