Anil's Blog is Best Viewed on GOOGLE CHROME

Sunday, May 2, 2010

How to throw Attribute Level Validation in AMimpl

In Application Module

import oracle.apps.fnd.framework.OAAttrValException;

if (EndDate == null) // throwing Attribute Level Validation if the endDate is NULL

              throw new OAAttrValException(OAAttrValException.TYP_VIEW_OBJECT,

Note: Don't forget to create one Primary Key in VO.

1 comment:

  1. hi anil,iv tried out this.i hav a vo based case and no eo.i tried this code bt cms up on page header as ther anythng else i misd out?


Note: Only a member of this blog may post a comment.