Enhancement for Average Cost method when CRE is connected with Web Portal.
Various minor fixes and performance improvements.