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, "xxIncreaseWorkVO1", rowi.getKey(), "RoleEndDate", rowi.getAttribute("RoleEndDate"), "PA", "XX_ROLE_ED_NOT_BLANK"); }
Note: Don't forget to create one Primary Key in VO.
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 error1-mesage..is ther anythng else i misd out?
ReplyDelete