This content has been marked as final. Show 6 replies
the casting happens in this line,
PoSchedAssociatedChargesVOImpl poAssociatedChargesVOImpl = (PoSchedAssociatedChargesVOImpl)am.getPoSchedAssociatedCharges1();
so you may want to check if am appmodule returns the right VO.
check getPoSchedAssociatedCharges1() in the app module to see if it returns the right VO - assuming it has been hand changed by you and might have missed something.
Or it may be that the VO is not part of the AM, or you have not exposed the View accessor methods exposed to the client in the AM or VO.
can't you read error messages ?
oracle.apps.fnd.applcore.oaext.model.*OAApplicationModuleImpl* cannot be cast to oracle.apps.scm.landedCost.landedCosts.reviewPoDetails.uiModel.applicationModule.*MaterialPOAMImpl*"
translates to ...
OAApplicationModuleImpl <> MaterialPOAMImpl
MaterialPOAMImpl am = *(MaterialPOAMImpl)this.getApplicationModule();*
as the line causing the issue. You cast the AM to the wrong class. This is it