Client Script to fetch Purchase Rate of the Item in the Sales Invoice

blessings and cheers NCP, it has worked. Many Thanks again.