Customised view objects in OAF

Is there any way to find all customised view objects in OAF?

Hi,
Is there any way to find all customised view objects in OAF?Are you looking for all the view objects which has been extended in a application.
Regards,
Gyan

Similar Messages

  • OAF Export button fetching data in one column - view object using union all

    Dear All,
    Export button showing data in one column from  view object,
    View object is based on mulitple queries with union all ,
    Please let me know the solution for this issue.
    Thanks
    Maheswara Raju

    Maheswara Raju,
    As per my understanding you are not able to export all the View Attribute using export Button. Only the attribute which is used with the item/region will get exported.
    There are few work around in case if you want to export the column without showing on OAF Page. Let me know.
    Cheers
    Gyan

  • OAF, View object used with the clausule setWhereClause, show the error  not have been properly initialized.

    Hi to all,
    I'm new with oaf and in mi AM i have to VO that I use to find relative information to the one is shown to the user on a query region, after the user pressed the go buton  the CO request the AM tho load both VO and those information are used to show in a popup region to display and update. the main problem is when the popup region closes it send a submit to the server an the error "View object may not have been properly initialized during Update." is displayed
    The main page and the popup uses the same AM, the initM2mVo() and initTavleVo() are  called by the CO at the processRequest of the main PG, the popup dosen´t have a CO.
    This the AM that uses the main PG and the popup region
    package tasc.oracle.apps.tasc.m2m.imei.server;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class ActualizarImeiAMImpl extends OAApplicationModuleImpl {
        /**This is the default constructor (do not remove)
        public ActualizarImeiAMImpl() {
        /*******************************USE FOR CUSTOM CODE****************************/
         * Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
         * @param taskNumber
        public void loadImeiVo(String taskNumber) {
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null) {
                voTableQry.reset();
                voTableQry.setWhereClause(null);
                voTableQry.setWhereClauseParams(null);
                voTableQry.setWhereClause("TASK_NUMBER = :1");
                voTableQry.setWhereClauseParam(0, taskNumber);
                voTableQry.executeQuery();
                if (voTableQry.hasNext()) {
                    voTableQry.next();
                    String idActuacion =
                        (String)voTableQry.getCurrentRow().getAttribute("IdActuacion");
                    String dsM2m =
                        (String)voTableQry.getCurrentRow().getAttribute("DsM2m");
                    String imei =
                        (String)voTableQry.getCurrentRow().getAttribute("Imei");
                    if (idActuacion != null) {
                        OAViewObjectImpl m2mVo = (OAViewObjectImpl)this.getTascTransEqInstM2mVO1();
                        m2mVo.reset();
                        if (!m2mVo.isPreparedForExecution()) {
                            m2mVo.setMaxFetchSize(0);
                            m2mVo.executeQuery();
                        m2mVo.setWhereClause(null);
                        m2mVo.setWhereClauseParams(null);
                        m2mVo.setWhereClause("ID_ACTUACION = :1 AND DS_M2M = :2 AND IMEI = :3 ");
                        m2mVo.setWhereClauseParam(0, idActuacion);
                        m2mVo.setWhereClauseParam(1, dsM2m);
                        m2mVo.setWhereClauseParam(2, imei);
                        m2mVo.executeQuery();
                        if(m2mVo.hasNext()){
                            m2mVo.next();
         * Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca
         * el  IMEI seleccionado.
        public void loadImeiValuesList(String taskNumber) {
            ViewObject viewobject = this.getImeiListVO1();
            OAViewObject voTableQry = getTableQryVO1();
            if (voTableQry != null && voTableQry.getCurrentRow() != null) {
                String imeiType =
                    (String)voTableQry.getCurrentRow().getAttribute("Attribute17");
                if (viewobject != null & imeiType != null) {
                    viewobject.setWhereClause(null);
                    viewobject.setWhereClauseParams(null);
                    viewobject.setWhereClause("TASK_NUMBER = :1 AND ATTRIBUTE17 = :2");
                    viewobject.setWhereClauseParam(0, taskNumber);
                    viewobject.setWhereClauseParam(1, imeiType);
                    viewobject.executeQuery();
        /*******************************USE FOR CUSTOM CODE****************************/
        /**Container's getter for TableVO1
        public OAViewObjectImpl getTableVO1() {
            return (OAViewObjectImpl)findViewObject("TableVO1");
        /**Sample main for debugging Business Components code using the tester.
        public static void main(String[] args) { /* package name */
            /* Configuration Name */launchTester("tasc.oracle.apps.tasc.m2m.imei.server",
                                                 "ActualizarImeiAMLocal");
        /**Container's getter for TascTransEqInstM2mVO1
        public OAViewObjectImpl getTascTransEqInstM2mVO1() {
            return (OAViewObjectImpl)findViewObject("TascTransEqInstM2mVO1");
        /**Container's getter for ImeiListVO1
        public OAViewObjectImpl getImeiListVO1() {
            return (OAViewObjectImpl)findViewObject("ImeiListVO1");
        /**Container's getter for TableQryVO1
        public OAViewObjectImpl getTableQryVO1() {
            return (OAViewObjectImpl)findViewObject("TableQryVO1");
    this is the CO of the main PG
    /*===========================================================================+
    |   Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA    |
    |                         All rights reserved.                              |
    +===========================================================================+
    |  HISTORY                                                                  |
    +===========================================================================*/
    package tasc.oracle.apps.tasc.m2m.imei.webui;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.layout.OAQueryBean;
    * Controller for ...
    public class ActualizarImeiCO extends OAControllerImpl {
        public static final String RCS_ID = "$Header$";
        public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
         * Layout and page setup logic for a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
            super.processRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //verifica si la transaccion de creacion esta activa todavia
            if (TransactionUnitHelper.isTransactionUnitInProgress(pageContext,"ActualizarImeiM2m", false))
                // deshace cambios y finaliza Txn
                am.invokeMethod("rollback");
                TransactionUnitHelper.endTransactionUnit(pageContext, "ActualizarImeiM2m");
         * Procedure to handle form submissions for form elements in
         * a region.
         * @param pageContext the current OA page context
         * @param webBean the web bean corresponding to the region
        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            super.processFormRequest(pageContext, webBean);
            //get the handle to AM Attached to our Simple Page Region MainRegionRN
            //The page is passed as parameter to this method, hence we can get handle
            //to the AM quite easily
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            //Detección del botón go de la región de query.
            this.queryButonGO(pageContext, webBean, am);
            this.updateImei(pageContext, am);
         * Detección del botón go de la región de query
         * @param pageContext
         * @param webBean
         * @param am
        public void queryButonGO(OAPageContext pageContext, OAWebBean webBean,
                                 OAApplicationModule am) {
            OAQueryBean queryBean =
                (OAQueryBean)webBean.findIndexedChildRecursive("QueryRN");
            String idGo = queryBean.getGoButtonName();
            if (pageContext.getParameter(idGo) != null) {
                String tareaId = pageContext.getParameter("TaskNumberLovInput");
                //Inicializa el vo a través del cual se ejecutara la actualización del IMEI.
                Serializable[] parameters2 = { tareaId };
                Class[] paramTypes2 = { String.class };
                am.invokeMethod("loadImeiVo", parameters2, paramTypes2);
                //Carga los valores disponibles de IMEI según el taskNumber al cual pertenezca  el  IMEI seleccionado.
                Serializable[] parameters = { tareaId };
                Class[] paramTypes = { String.class };
                am.invokeMethod("loadImeiValuesList", parameters, paramTypes);
        public void updateImei(OAPageContext pageContext, OAApplicationModule am){
            if (pageContext.getParameter("ActualizarImei") != null){
                String imei = pageContext.getParameter("ImeiPopup");
                //TODO......
    thanks to all.

    I thing I got the problem.
    I have the following configuration:
    One Main Page and external RN that is call as popup in main page
    2 VO, queries by java code, one to capture some information that is used to query the 2 VO that I use to update information by the popup.
    One AM that is map only in the Main Page. (Initially I had the external RN mapped to same AM as the main PG, but I remove it).
    The solution was remove the mapping of the AM from the external region and in the messageimput of the external region set the View instance and view Attribute manually in this fields (http://screencast.com/t/uDTALEedCh do not use the wizard ) as the one instanced am the AM, so the problem it seem that was that defining an AM to the external region create a new instance, causing that it can not see the information that I load manually in the VO by query it them.
    for this case there is not need to use the next code, because the Rows are load with information by the query in the java code, this only will have to be made when inserting a new row .
        public void initM2mVo(){
            //get a handle to the View Object that we wish to initialize
            OAViewObject vo = (OAViewObject)this.getTascTransEqInstM2mVO1();
            if (!vo.isPreparedForExecution()) {
                vo.setMaxFetchSize(0);
                vo.executeQuery();
            //Create a blank Row
            Row row = vo.createRow();
            //Attach that blank row to the VO. Data will be fed into this row, when the user types into the fields
            vo.insertRow(row);
            //Set the status of the blank row to initialized. This tells OA Framework that record is blank and must not be included in DML
            //Operations until    changes are made to its underlying VO [via screen fields]
            row.setNewRowState(Row.STATUS_INITIALIZED);

  • To find out the last row that is updated in a View Object

    Hi OAF Gurus,
    I have requirement like,
    I have to find out the last row that is updated on a particular View Object and I have send a mail to the users about the change.
    JegSAMassMobVOImpl vo = getJegSAMassMobVO1();
    JegSAMassMobVO is the View Object Name and it displays certain rows that has already been added to the VO in the Page.
    Now the issue is when a user updates a particular row,I have to find which row gets updated and have to send a email to that particular employee about the change.
    Just want to know,how to find out the last updated row in a particular VO.
    Any Help would be appreciated as this a immediate requirement.
    Regards,
    Magesh.M.K.
    Edited by: user1393742 on May 4, 2011 1:06 AM

    Hi Magesh
    It shoud be a Advanced table ,so when user will update the row ,the specific row will fire the PPR and on that event u can capture the row using row reference ,this is the sample code below
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean); OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    String event = pageContext.getParameter("event");
    if ("<ItemPPREventName>").equals(event))
    // Get the identifier of the PPR event source row
    String rowReference =
    pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] parameters = { rowReference };
    // Pass the rowReference to a "handler" method in the application module.
    262
    am.invokeMethod("<handleSomeEvent>", parameters);
    In your application module's "handler" method, add the following code to access the source row:
    OARow row = (OARow)findRowByRef(rowReference);
    if (row != null)
    Thanks
    Pratap

  • View object Rows

    Hi,
    I am extending an OAF page. In which I am trying to get access to all the rows of a view object. This view object is used in an advance table. The advance table shows me 15 rows. 10 rows at a time(Advance table functionality).
    Now when I write this code, it return me 15 as a result.
    String.valueOf(vo.getRowCount()But when I try to run this code to iterate to each and every row, it just returns me 10 rows.
    AwardLineVOImpl vo = (AwardLineVOImpl)am.findViewObject("AwardLineVO");
    AwardLineVORow vorow = (AwardLineVORow)vo.getCurrentRow();
         while(vo.hasNext()){
            vorow = (AwardLineVORow)vo.next();
            oapagecontext.putDialogMessage(new OAException(vorow.getBidNumber()));
         }I want to know how can I get access to all the rows in the view object. As I can see the advance table shows 10 rows at a time. And when you click next, the next 10 rows are shown.
    Regards,
    B

    The "row state" is only meant for entity object rows, not for view object rows.
    For further details and a possible solution, please check How to identify inserted/modified row(s) in a VO
    (Not related) Mr. "73012", I noticed you posted lots of answers on this forum lately. Nice of you that you want to help, but much too often (IMHO) you are not explicit enough to provide a useful solution. Or, sometimes, not quite attentive to the question...
    If you are an Oracle employee, please take a bit more time to read the question; and maybe make your name public... If not, the same ;)
    Thanks,
    Adrian

  • How to use bind parameter in view object

    in my view object has parameter as below
    where :organization_id IS NULL
    :organization_id parameter get value from LOV
    I can run the page but it show following error :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hou.name organization_name
    ,hapf.name position_name
    ,hapf.attribute1 position_fund
    ,pg.name grade_name
    ,pbd.budget_detail_id
    ,hapf.position_id
    ,pbd.budget_version_id pbd_budget_version_id
    ,pbv.budget_version_id pbv_budget_version_id
    ,'Y' VIEW_DETAIL
    ,'Y' VIEW_DETAIL_OCC
    ,greatest(hapf.effective_start_date, pbv.date_from) effective_date
    FROM pqh_budget_details pbd
    ,hr_all_positions_f hapf
    ,hr_all_organization_units hou
    ,per_grades pg
    ,pqh_budget_versions pbv
    WHERE pbd.budget_version_id = pbv.budget_version_id
    AND pbd.position_id = hapf.position_id
    AND hapf.effective_end_date = hr_general.end_of_time
    AND hou.organization_id = hapf.organization_id
    AND pg.grade_id = hapf.entry_grade_id
    AND EXISTS (
    SELECT 'X'
    FROM hr_all_positions_f hapf1
    WHERE hapf1.position_id = hapf.position_id
    AND hapf1.availability_status_id = 1
    AND (pbv.date_from BETWEEN hapf1.effective_Start_date AND hapf1.effective_end_date
                        OR
                   hapf1.effective_Start_date BETWEEN pbv.date_from AND pbv.date_to))
    and :gl_organization = 10)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
    Thank you very much

    Is it a seeded view or a custom view? Ideally, in OAF you do parameter binding in the style
    organization_id = :1
    Also make sure to call setWhereClauseParams(null) on your view object before going for binding.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • View objects performance issue with oracle seeded tables

    While i am writing a view object on a oracle seeded tables like MTL_PARAMETERS, its taking more time to show in the oaf page.I am trying to display all these view object columns in detail disclosure of advanced table. My Application is taking more than two minutes to display the view columns of the query which is returning just 200 rows. Please help me how to improve performance when my query using seeded tables.
    This issue is happening only in R12 view object and advanced tables.
    Edited by: vlsn on Jun 24, 2012 11:36 PM

    Hi All,
    Here is architecture of my application:
    Java application creates XML from the screen values and then inserts that XML
    into a framework(separate DB schema) table . then Java calls a Stored Procedure from same framework DB and in SP we have following steps.
    1. It fatches XML from the XML type table and inserts XML into screen specific XML TYPE table in the framework DB Schema. This table has a trigger which parses XML and then inserts XML values into GTT which are created in separate product schemas.
    2. it calls Product SP and then in product SP we have business logic. Product SP
    does the execution and then inserts response into Response GTT.
    3. Response XML is created by using XML generation function and response GTT.
    I hope u will understand my architeture this time and now let me know if GTT are good in this scenario or not. also please not that i need data in GTT only during execution and not after that. i dont want to do specific delete which i have to do if i am using normal tables.
    Regards,
    Vikas Kumar

  • OA Framework Larger Numbers in view objects

    Hi,
    We have an OAF page with a simple table layout. One of the field allows user to enter a number. The next field is calculated automatically based on user input in the earlier field upon clicking save button.
    An example is:
    Field 1 (Number, user input) : 100
    Field 2 (Constant): 20
    Field 3(Derived): (Field 1 - Field 2) => 100 - 20 = 80
    In one of the cases, user has enter an extremely large number value in the input field
    Field 1: 100,000,000,000,000,000,000.00 (22 digit number)
    Field 2: 1,620.22
    The derived field value in this case appears as 100,000,000,000,000,000,000.00, same as field 1.
    I notice that if the field 1 is having 21 digits, the subtraction happens but the decimal is rounded off. Here the field 2 is 9,999,999,999,999,998,000.00.
    We have not used round, ceil or floor functions in the view object query. There is no specific number precision defined to the number fields in the VO.
    In sql*plus, this can be avoided using 'set numformat '. How can we avoid this issue from the framework ?
    Thanks,
    Ashwin

    Before you come to the above screen, it might have asked you for database credentials. There you need to provide the username and password. Then in the following screen(the screenshot you gave), just above the Tables, views etc checkboxes you can see a poplist called Database Schema with available schemas in the selected db.
    If the EO wizard didn't ask for any db then you first needs to create a connetion in JDev with connections manager.
    Regards,
    Peddi

  • Try to add new View object to an exist AM

    Dears ,
    i'm trying to create new text filed in an exist OAF page and i have create anew vo and add it to the exist AM the below erroe has been appeared
    Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = XxTedExtVONEW1; APPLICATION_MODULE = xxted.oracle.apps.per.extint.server.XxTedExtAM;
    below is the code of XxTedExtAM  and the red is my code for adding the new view object:
    /*     */ package xxted.oracle.apps.per.extint.server;
    /*     */ import java.io.PrintStream;
    /*     */ import oracle.apps.fnd.framework.OAException;
    /*     */ import oracle.apps.fnd.framework.OARow;
    /*     */ import oracle.apps.fnd.framework.OAViewObject;
    /*     */ import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    /*     */ import oracle.apps.fnd.framework.server.OADBTransaction;
    /*     */ import oracle.jbo.Row;
    /*     */ import oracle.jbo.domain.Date;
    /*     */ import oracle.jbo.domain.Number;
    /*     */ import oracle.jbo.server.ViewLinkImpl;
    /*     */ public class XxTedExtAMImpl extends OAApplicationModuleImpl
    /*     */   public XxTedAnotherJobVOImpl getXxTedAnotherJobVO1()
    /*  19 */     return (XxTedAnotherJobVOImpl)findViewObject("XxTedAnotherJobVO1");
    /*     */   public XxTedCompenVOImpl getXxTedCompenVO1()
    /*  24 */     return (XxTedCompenVOImpl)findViewObject("XxTedCompenVO1");
    /*     */   public XxTedCultIssueVOImpl getXxTedCultIssueVO1()
    /*  29 */     return (XxTedCultIssueVOImpl)findViewObject("XxTedCultIssueVO1");
    /*     */   public XxTedGuidlinesVOImpl getXxTedGuidlinesVO1()
    /*  34 */     return (XxTedGuidlinesVOImpl)findViewObject("XxTedGuidlinesVO1");
    /*     */   public XxTedJobIssueVOImpl getXxTedJobIssueVO1()
    /*  39 */     return (XxTedJobIssueVOImpl)findViewObject("XxTedJobIssueVO1");
    /*     */   public XxTedLeaveResVOImpl getXxTedLeaveResVO1()
    /*  44 */      return (XxTedLeaveResVOImpl)findViewObject("XxTedLeaveResVO1");
    /*     */   public XxTedRelIssueVOImpl getXxTedRelIssueVO1()
    /*  49 */     return (XxTedRelIssueVOImpl)findViewObject("XxTedRelIssueVO1");
    /*     */   public XxTedTerminologyVOImpl getXxTedTerminologyVO1()
    /*  54 */     return (XxTedTerminologyVOImpl)findViewObject("XxTedTerminologyVO1");
    /*     */   public static void main(String[] args)
    /*  58 */     launchTester("xxted.oracle.apps.per.extint.server", "XxTedExtAMLocal");
    /*     */   public XxTedExitInterviewVOImpl getXxTedExitInterviewVO1()
    /*  64 */     return (XxTedExitInterviewVOImpl)findViewObject("XxTedExitInterviewVO1");
    /*     */   public XxTedExitintDetF1VOImpl getXxTedExitintDetF1VO1()
    /*  69 */     return (XxTedExitintDetF1VOImpl)findViewObject("XxTedExitintDetF1VO1");
    /*     */   public XxTedExitintDetF2VOImpl getXxTedExitintDetF2VO1()
    /*  74 */     return (XxTedExitintDetF2VOImpl)findViewObject("XxTedExitintDetF2VO1");
    /*     */   public XxTedExitintDetF3VOImpl getXxTedExitintDetF3VO1()
    /*  79 */     return (XxTedExitintDetF3VOImpl)findViewObject("XxTedExitintDetF3VO1");
    /*     */   public XxTedExitintDetF4VOImpl getXxTedExitintDetF4VO1()
    /*  84 */     return (XxTedExitintDetF4VOImpl)findViewObject("XxTedExitintDetF4VO1");
    /*     */   public XxTedExitintDetF5VOImpl getXxTedExitintDetF5VO1()
    /*  89 */     return (XxTedExitintDetF5VOImpl)findViewObject("XxTedExitintDetF5VO1");
    /*     */   public XxTedExitintDetF6VOImpl getXxTedExitintDetF6VO1()
    /*  94 */     return (XxTedExitintDetF6VOImpl)findViewObject("XxTedExitintDetF6VO1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF1VL1()
    /*  99 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF1VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF2VL1()
    /* 104 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF2VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF3VL1()
    /* 109 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF3VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF4VL1()
    /* 114 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF4VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF5VL1()
    /* 119 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF5VL1");
    /*     */   public ViewLinkImpl getXxTedExitintDetF6VL1()
    /* 124 */     return (ViewLinkImpl)findViewLink("XxTedExitintDetF6VL1");
    /*     */   public XxTedReqIdVOImpl getXxTedReqIdVO1()
    /* 129 */     return (XxTedReqIdVOImpl)findViewObject("XxTedReqIdVO1");
    /*     */   public XxTedInterviewerVOImpl getXxTedInterviewerVO1()
    /* 134 */     return (XxTedInterviewerVOImpl)findViewObject("XxTedInterviewerVO1");
    /*     */   public void initRecords()
    /* 138 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 139 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 140 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 141 */     OAViewObject XxTedReqIdVO = getXxTedReqIdVO1();
    /* 142 */     if (!XxTedReqIdVO.isPreparedForExecution())
    /* 144 */       XxTedReqIdVO.executeQuery();
    /* 146 */     Row[] reqRow = XxTedReqIdVO.getAllRowsInRange();
    /* 147 */     XxTedReqIdVORowImpl reqRowImp = (XxTedReqIdVORowImpl)reqRow[0];
    /* 149 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 150 */     if (!XxTedExitInterviewVO.isPreparedForExecution())
    /* 152 */       XxTedExitInterviewVO.setMaxFetchSize(0);
    /* 153 */       XxTedExitInterviewVO.executeQuery();
    /* 154 */       XxTedExitInterviewVO.setMaxFetchSize(-1);
    /* 156 */     Row row = XxTedExitInterviewVO.createRow();
    /* 157 */     row.setAttribute("RequestId", reqRowImp.getAttribute("Reqid"));
    /* 158 */     row.setAttribute("RequesterId", empRowImp.getAttribute("EmployeeNumber"));
    /* 160 */     XxTedExitInterviewVO.insertRow(row);
    /* 161 */     row.setNewRowState((byte)0);
    /*     */   public void execQueries(String userId)
    /* 166 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 167 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 169 */       XxTedGuidlinesVO.executeQuery();
    /* 172 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 173 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 175 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 176 */       XxTedEmpDataVO.executeQuery();
    /* 179 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 180 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 182 */       XxTedTerminologyVO.executeQuery();
    /* 185 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 186 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 188 */       XxTedLeaveResVO.executeQuery();
    /////////////////////////////lamiaa///////////////
           /* OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                XxTedExtVONEW.executeQuery();
      /////////////////////////////lamiaa///////////////
    /* 191 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 192 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 194 */       XxTedCompenVO.executeQuery();
    /* 197 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 198 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 200 */       XxTedJobIssueVO.executeQuery();
    /* 203 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 204 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 206 */       XxTedRelIssueVO.executeQuery();
    /* 209 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 210 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 212 */       XxTedCultIssueVO.executeQuery();
    /* 215 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 216 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 218 */       XxTedAnotherJobVO.executeQuery();
    /* 220 */     OAViewObject XxTedInterviewerVO = getXxTedInterviewerVO1();
    /* 221 */     if (!XxTedInterviewerVO.isPreparedForExecution())
    /* 223 */       XxTedInterviewerVO.executeQuery();
    /*     */   public void insertData()
    /* 229 */     OAViewObject XxTedExitintDetF1VO = getXxTedExitintDetF1VO1();
    /* 230 */     OAViewObject XxTedExitintDetF2VO = getXxTedExitintDetF2VO1();
    /* 231 */     OAViewObject XxTedExitintDetF3VO = getXxTedExitintDetF3VO1();
    /* 232 */     OAViewObject XxTedExitintDetF4VO = getXxTedExitintDetF4VO1();
    /* 233 */     OAViewObject XxTedExitintDetF5VO = getXxTedExitintDetF5VO1();
    /* 234 */     OAViewObject XxTedExitintDetF6VO = getXxTedExitintDetF6VO1();
    /* 236 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
        /////////////////////////////lamiaa///////////////
                 //OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
        /////////////////////////////lamiaa///////////////
    /* 237 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 238 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 239 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 240 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 241 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 243 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
                //  Row[] rowF7 = XxTedExtVONEW.getFilteredRows("SelectFlg", "Y");
                /////////////////////////////lamiaa///////////////
    /* 244 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 245 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 246 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 247 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 248 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 250 */     if (!XxTedExitintDetF1VO.isPreparedForExecution())
    /* 252 */       XxTedExitintDetF1VO.executeQuery();
    /* 254 */     for (int i = 0; i < rowF1.length; i++) {
    /* 255 */       XxTedExitintDetF1VO.last();
    /* 256 */       XxTedExitintDetF1VO.next();
    /* 257 */       Row row1 = XxTedExitintDetF1VO.createRow();
    /* 258 */       row1.setAttribute("SectionNumber", "F.1");
    /* 259 */       row1.setAttribute("SelectedValue", rowF1[i].getAttribute("LookupCode"));
    /* 260 */       XxTedExitintDetF1VO.insertRow(row1);
    /* 261 */       row1.setNewRowState((byte)0);
    /* 264 */     if (!XxTedExitintDetF2VO.isPreparedForExecution())
    /* 266 */       XxTedExitintDetF2VO.executeQuery();
    /* 268 */     for (int i = 0; i < rowF2.length; i++) {
    /* 269 */       XxTedExitintDetF2VO.last();
    /* 270 */       XxTedExitintDetF2VO.next();
    /* 271 */       Row row2 = XxTedExitintDetF2VO.createRow();
    /* 272 */       row2.setAttribute("SectionNumber", "F.2");
    /* 273 */       row2.setAttribute("SelectedValue", rowF2[i].getAttribute("LookupCode"));
    /* 274 */       XxTedExitintDetF2VO.insertRow(row2);
    /* 275 */       row2.setNewRowState((byte)0);
    /* 278 */     if (!XxTedExitintDetF3VO.isPreparedForExecution())
    /* 280 */       XxTedExitintDetF3VO.executeQuery();
    /* 282 */     for (int i = 0; i < rowF3.length; i++) {
    /* 283 */       XxTedExitintDetF3VO.last();
    /* 284 */       XxTedExitintDetF3VO.next();
    /* 285 */       Row row3 = XxTedExitintDetF3VO.createRow();
    /* 286 */       row3.setAttribute("SectionNumber", "F.3");
    /* 287 */       row3.setAttribute("SelectedValue", rowF3[i].getAttribute("LookupCode"));
    /* 288 */       XxTedExitintDetF3VO.insertRow(row3);
    /* 289 */       row3.setNewRowState((byte)0);
    /* 291 */     if (!XxTedExitintDetF4VO.isPreparedForExecution())
    /* 293 */       XxTedExitintDetF4VO.executeQuery();
    /* 295 */     for (int i = 0; i < rowF4.length; i++) {
    /* 296 */       XxTedExitintDetF4VO.last();
    /* 297 */       XxTedExitintDetF4VO.next();
    /* 298 */       Row row4 = XxTedExitintDetF4VO.createRow();
    /* 299 */       row4.setAttribute("SectionNumber", "F.4");
    /* 300 */       row4.setAttribute("SelectedValue", rowF4[i].getAttribute("LookupCode"));
    /* 301 */       XxTedExitintDetF4VO.insertRow(row4);
    /* 302 */       row4.setNewRowState((byte)0);
    /* 304 */     if (!XxTedExitintDetF5VO.isPreparedForExecution())
    /* 306 */       XxTedExitintDetF5VO.executeQuery();
    /* 308 */     for (int i = 0; i < rowF5.length; i++) {
    /* 309 */       XxTedExitintDetF5VO.last();
    /* 310 */       XxTedExitintDetF5VO.next();
    /* 311 */       Row row5 = XxTedExitintDetF5VO.createRow();
    /* 312 */       row5.setAttribute("SectionNumber", "F.5");
    /* 313 */       row5.setAttribute("SelectedValue", rowF5[i].getAttribute("LookupCode"));
    /* 314 */       XxTedExitintDetF5VO.insertRow(row5);
    /* 315 */       row5.setNewRowState((byte)0);
    /* 318 */     if (!XxTedExitintDetF6VO.isPreparedForExecution())
    /* 320 */       XxTedExitintDetF6VO.executeQuery();
    /* 322 */     for (int i = 0; i < rowF6.length; i++) {
    /* 323 */       XxTedExitintDetF6VO.last();
    /* 324 */       XxTedExitintDetF6VO.next();
    /* 325 */       Row row6 = XxTedExitintDetF6VO.createRow();
    /* 326 */       row6.setAttribute("SectionNumber", "F.6");
    /* 327 */       row6.setAttribute("SelectedValue", rowF6[i].getAttribute("LookupCode"));
    /* 328 */       XxTedExitintDetF6VO.insertRow(row6);
    /* 329 */       row6.setNewRowState((byte)0);
    /* 331 */     saveData();
    /*     */   public void saveData()
    /* 336 */     getOADBTransaction().commit();
    /*     */   public XxTedEmpDataVOImpl getXxTedEmpDataVO1()
    /* 342 */     return (XxTedEmpDataVOImpl)findViewObject("XxTedEmpDataVO1");
    /*     */   public void queryReqUsingEmp(String pEmpno) {
    /* 345 */     OAViewObject XxTedExitInterviewVO = getXxTedExitInterviewVO1();
    /* 347 */     XxTedExitInterviewVO.setWhereClause("REJ_FLG <> 1 AND Requester_id = " + pEmpno);
    /* 348 */     XxTedExitInterviewVO.executeQuery();
    /*     */   public void execQueriesGuidlines()
    /* 353 */     OAViewObject XxTedGuidlinesVO = getXxTedGuidlinesVO1();
    /* 354 */     if (!XxTedGuidlinesVO.isPreparedForExecution())
    /* 356 */       XxTedGuidlinesVO.executeQuery();
    /*     */   public void execQueriesEmpData(String param) {
    /* 361 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 363 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 365 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", param);
    /* 366 */       XxTedEmpDataVO.executeQuery();
    /* 369 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 370 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 371 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 373 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 374 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", empNo);
    /* 375 */     XxTedEmpDataVO2.executeQuery();
    /* 377 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 378 */     XxReq.setWhereClause("Requester_id = " + empNo);
    /* 379 */     if (!XxReq.isPreparedForExecution())
    /* 381 */       XxReq.executeQuery();
    /*     */   public void execQueriesEmpData2(String param)
    /* 387 */     OAViewObject XxTedEmpDataVO2 = getXxTedEmpData2_1();
    /* 388 */     XxTedEmpDataVO2.setNamedWhereClauseParam("p_emp", param);
    /* 390 */     XxTedEmpDataVO2.executeQuery();
    /* 392 */     OAViewObject XxReq = getXxTedExitInterviewVO1();
    /* 394 */     XxReq.setWhereClause("Requester_id = " + param);
    /* 396 */     XxReq.executeQuery();
    /*     */   public void execQueriesTerm()
    /* 401 */     OAViewObject XxTedTerminologyVO = getXxTedTerminologyVO1();
    /* 402 */     if (!XxTedTerminologyVO.isPreparedForExecution())
    /* 404 */       XxTedTerminologyVO.executeQuery();
    /*     */   public void execQueriesLeave(String param) {
    /* 409 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 410 */     if (!XxTedLeaveResVO.isPreparedForExecution())
    /* 412 */       XxTedLeaveResVO.executeQuery();
        /////////////////////////////lamiaa///////////////
            /* public void execQueriesLeave_reason(String param) {
                 OAViewObject XxTedExtVONEW = getXxTedExtVONEW();
                if (!XxTedExtVONEW.isPreparedForExecution())
                 XxTedExtVONEW.executeQuery();
        /////////////////////////////lamiaa///////////////
    /*     */   public void execQueriesCompen(String param) {
    /* 417 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 418 */     if (!XxTedCompenVO.isPreparedForExecution())
    /* 420 */       XxTedCompenVO.executeQuery();
    /*     */   public void execQueriesJobIssue(String param) {
    /* 425 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 426 */     if (!XxTedJobIssueVO.isPreparedForExecution())
    /* 428 */       XxTedJobIssueVO.executeQuery();
    /*     */   public void execQueriesRelIssue(String param) {
    /* 433 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 434 */     if (!XxTedRelIssueVO.isPreparedForExecution())
    /* 436 */       XxTedRelIssueVO.executeQuery();
    /*     */   public void execQueriesCultIssue(String param) {
    /* 441 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 442 */     if (!XxTedCultIssueVO.isPreparedForExecution())
    /* 444 */       XxTedCultIssueVO.executeQuery();
    /*     */   public void execQueriesAnotherJob(String param) {
    /* 449 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 450 */     if (!XxTedAnotherJobVO.isPreparedForExecution())
    /* 452 */       XxTedAnotherJobVO.executeQuery();
    /*     */   public XxTedEmpData2Impl getXxTedEmpData2_1()
    /* 459 */     return (XxTedEmpData2Impl)findViewObject("XxTedEmpData2_1");
    /*     */   public XxTedF1QVOImpl getXxTedF1QVO1()
    /* 464 */     return (XxTedF1QVOImpl)findViewObject("XxTedF1QVO1");
    /*     */   public XxTedF2QVOImpl getXxTedF2QVO1()
    /* 469 */     return (XxTedF2QVOImpl)findViewObject("XxTedF2QVO1");
    /*     */   public XxTedF3QVOImpl getXxTedF3QVO1()
    /* 474 */     return (XxTedF3QVOImpl)findViewObject("XxTedF3QVO1");
    /*     */   public XxTedF4QVOImpl getXxTedF4QVO1()
    /* 479 */     return (XxTedF4QVOImpl)findViewObject("XxTedF4QVO1");
    /*     */   public XxTedF5QVOImpl getXxTedF5QVO1()
    /* 484 */     return (XxTedF5QVOImpl)findViewObject("XxTedF5QVO1");
    /*     */   public XxTedF6QVOImpl getXxTedF6QVO1()
    /* 489 */     return (XxTedF6QVOImpl)findViewObject("XxTedF6QVO1");
    /*     */   public ViewLinkImpl getXxTedF1QVL1()
    /* 494 */     return (ViewLinkImpl)findViewLink("XxTedF1QVL1");
    /*     */   public ViewLinkImpl getXxTedF2QVL1()
    /* 499 */     return (ViewLinkImpl)findViewLink("XxTedF2QVL1");
    /*     */   public ViewLinkImpl getXxTedF3QVL1()
    /* 504 */     return (ViewLinkImpl)findViewLink("XxTedF3QVL1");
    /*     */   public ViewLinkImpl getXxTedF4QVL1()
    /* 509 */     return (ViewLinkImpl)findViewLink("XxTedF4QVL1");
    /*     */   public ViewLinkImpl getXxTedF5QVL1()
    /* 514 */     return (ViewLinkImpl)findViewLink("XxTedF5QVL1");
    /*     */   public ViewLinkImpl getXxTedF6QVL1()
    /* 519 */     return (ViewLinkImpl)findViewLink("XxTedF6QVL1");
    /*     */   public XxTedReqStatusVOImpl getXxTedReqStatusVO1()
    /* 524 */     return (XxTedReqStatusVOImpl)findViewObject("XxTedReqStatusVO1");
    /*     */   public void execQueriesReqStatus(String param) {
    /* 527 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 529 */     System.out.println("Param = " + param);
    /* 531 */     XxTedReqStatusVO.setWhereClause("REQUESTER_ID = " + param);
    /* 532 */     XxTedReqStatusVO.executeQuery();
    /*     */   public XxTedWFItemTypeImpl getXxTedWFItemType1()
    /* 538 */     return (XxTedWFItemTypeImpl)findViewObject("XxTedWFItemType1");
    /*     */   public XxTedReqCntVOImpl getXxTedReqCntVO1()
    /* 543 */     return (XxTedReqCntVOImpl)findViewObject("XxTedReqCntVO1");
    /*     */   public void dupCheck() {
    /* 546 */     OAViewObject vo = getXxTedReqCntVO1();
    /* 548 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 549 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 550 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 552 */     vo.setWhereClause("rej_flg <> 1 and requester_id = " + empRowImp.getEmployeeNumber());
    /* 553 */     vo.executeQuery();
    /* 554 */     Row[] row = vo.getAllRowsInRange();
    /* 555 */     if (row.length != 0)
    /* 556 */       throw new OAException("This employee submitted and exit form before, Kindly contact system admin", (byte)0);
    /*     */   public XxTedCurrReqImpl getXxTedCurrReq1()
    /* 562 */     return (XxTedCurrReqImpl)findViewObject("XxTedCurrReq1");
    /*     */   public ViewLinkImpl getXxTedCurrReqVL1()
    /* 567 */     return (ViewLinkImpl)findViewLink("XxTedCurrReqVL1");
    /*     */   public void execMainPG(String userId) {
    /* 570 */     OAViewObject XxTedEmpDataVO = getXxTedEmpDataVO1();
    /* 571 */     if (!XxTedEmpDataVO.isPreparedForExecution())
    /* 573 */       XxTedEmpDataVO.setNamedWhereClauseParam("p_user_id", userId);
    /* 574 */       XxTedEmpDataVO.executeQuery();
    /* 576 */     Row[] empRow = XxTedEmpDataVO.getAllRowsInRange();
    /* 577 */     XxTedEmpDataVORowImpl empRowImp = (XxTedEmpDataVORowImpl)empRow[0];
    /* 578 */     String empNo = (String)empRowImp.getAttribute("EmployeeNumber");
    /* 580 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 581 */     XxTedReqStatusVO.setWhereClause("Requester_Id = " + empNo);
    /* 582 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void execLog()
    /* 587 */     OAViewObject Xvo = getXxTedExitInterviewVO1();
    /* 589 */     Row row = Xvo.getCurrentRow();
    /* 590 */     XxTedExitInterviewVORowImpl rowImp = (XxTedExitInterviewVORowImpl)row;
    /* 591 */     Number reqNo = (Number)rowImp.getAttribute("RequestId");
    /* 593 */     OAViewObject XxLog = getXxLoG1();
    /* 594 */     XxLog.setWhereClause("Request_Id = " + reqNo);
    /* 595 */     XxLog.executeQuery();
    /* 596 */     Row row2 = XxLog.getCurrentRow();
    /* 598 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 599 */     XxTedReqStatusVO.setWhereClause("Request_Id = " + reqNo);
    /* 600 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateNulls()
    /* 605 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 606 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 607 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 608 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 609 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 610 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 612 */     Row[] rowF1 = XxTedLeaveResVO.getFilteredRows("SelectFlg", "Y");
    /* 613 */     Row[] rowF2 = XxTedCompenVO.getFilteredRows("SelectFlg", "Y");
    /* 614 */     Row[] rowF3 = XxTedJobIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 615 */     Row[] rowF4 = XxTedRelIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 616 */     Row[] rowF5 = XxTedCultIssueVO.getFilteredRows("SelectFlg", "Y");
    /* 617 */     Row[] rowF6 = XxTedAnotherJobVO.getFilteredRows("SelectFlg", "Y");
    /* 619 */     int cntF1 = rowF1.length;
    /* 620 */     int cntF2 = rowF2.length;
    /* 621 */     int cntF3 = rowF3.length;
    /* 622 */     int cntF4 = rowF4.length;
    /* 623 */     int cntF5 = rowF5.length;
    /* 624 */     int cntF6 = rowF6.length;
    /* 626 */     if (cntF1 < 1) {
    /* 627 */       throw new OAException("Reason of Leave : Select at least one choice");
    /* 629 */     if (cntF2 < 1) {
    /* 630 */       throw new OAException("Compensation Issues : Select at least one choice");
    /* 632 */     if (cntF3 < 1) {
    /* 633 */       throw new OAException("Job Issues : Select at least one choice");
    /* 635 */     if (cntF4 < 1) {
    /* 636 */       throw new OAException("Relationship Issues : Select at least one choice");
    /* 638 */     if (cntF5 < 1) {
    /* 639 */       throw new OAException("Cultural Issues : Select at least one choice");
    /* 641 */     if (cntF6 < 1) {
    /* 642 */       throw new OAException("Another Job Opportunity : Select at least one choice");
    /* 645 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 646 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 648 */     String CompensationComments = (String)oaRow.getAttribute("CompensationComments");
    /* 649 */     if (CompensationComments == null) {
    /* 650 */       throw new OAException("Compensation Issue : Field should be supplied");
    /* 655 */     String LeaveReasonComments = (String)oaRow.getAttribute("LeaveReasonComments");
    /* 656 */     if (LeaveReasonComments == null) {
    /* 657 */       throw new OAException("Reason of leaving : Field should be supplied");
    /* 661 */     String ADSL = (String)oaRow.getAttribute("AdslNumber");
    /* 662 */     if (ADSL == null) {
    /* 663 */       throw new OAException("ADSL Number : Field should be supplied");
    /* 665 */     Date LastDate = (Date)oaRow.getAttribute("LastDate");
    /* 666 */     if (LastDate == null) {
    /* 667 */       throw new OAException("Last Working Day : Field should be supplied");
    /* 670 */     String JobComments = (String)oaRow.getAttribute("JobComments");
    /* 671 */     if (JobComments == null) {
    /* 672 */       throw new OAException("Job Issues : Field should be supplied");
    /* 675 */     String RelationshipComments = (String)oaRow.getAttribute("RelationshipComments");
    /* 676 */     if (RelationshipComments == null) {
    /* 677 */       throw new OAException("Relationship Issues : Field should be supplied");
    /* 679 */     String CulturalComments = (String)oaRow.getAttribute("CulturalComments");
    /* 680 */     if (CulturalComments == null) {
    /* 681 */       throw new OAException("Cultural Issues : Field should be supplied");
    /* 684 */     String OtherJobComments = (String)oaRow.getAttribute("OtherJobComments");
    /* 685 */     if (OtherJobComments == null) {
    /* 686 */       throw new OAException("Another Job Opportunity : Field should be supplied");
    /* 689 */     String OtherInfoComments = (String)oaRow.getAttribute("OtherInfoComments");
    /* 690 */     if (OtherInfoComments == null) {
    /* 691 */       throw new OAException("Other Info : Field should be supplied");
    /* 694 */     String TrainingComments = (String)oaRow.getAttribute("TrainingComments");
    /* 695 */     if (TrainingComments == null) {
    /* 696 */       throw new OAException("Training&Development : Field should be supplied");
    /* 699 */     String PositiveWorkComments = (String)oaRow.getAttribute("PositiveWorkComments");
    /* 700 */     if (PositiveWorkComments == null) {
    /* 701 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 704 */     String PositiveBestComments = (String)oaRow.getAttribute("PositiveBestComments");
    /* 705 */     if (PositiveBestComments == null) {
    /* 706 */       throw new OAException("Positive Work Comments : Fields should be supplied");
    /* 709 */     String ChangeComments = (String)oaRow.getAttribute("ChangeComments");
    /* 710 */     if (ChangeComments == null) {
    /* 711 */       throw new OAException("Change : Field should be supplied");
    /* 713 */     String ReemploymentComments = (String)oaRow.getAttribute("ReemploymentComments");
    /* 714 */     if (ReemploymentComments == null) {
    /* 715 */       throw new OAException("Re-employment : Field should be supplied");
    /* 718 */     Number CompensationIssuesSts = (Number)oaRow.getAttribute("CompensationIssuesSts");
    /* 719 */     if (CompensationIssuesSts == null) {
    /* 720 */       throw new OAException("Compensation Satisfaction : Value should be selected");
    /* 723 */     Number JobIssuesSts = (Number)oaRow.getAttribute("JobIssuesSts");
    /* 724 */     if (JobIssuesSts == null) {
    /* 725 */       throw new OAException("Job Issues Satisfaction : Value should be selected");
    /* 728 */     Number RelationshipIssuesSts = (Number)oaRow.getAttribute("RelationshipIssuesSts");
    /* 729 */     if (RelationshipIssuesSts == null) {
    /* 730 */       throw new OAException("Relationship Issues Satisfaction : Value should be selected");
    /* 732 */     Number CulturalIssuesSts = (Number)oaRow.getAttribute("CulturalIssuesSts");
    /* 733 */     if (CulturalIssuesSts == null) {
    /* 734 */       throw new OAException("Cultural Issues Satisfaction : Value should be selected");
    /* 736 */     Number OtherJobSts = (Number)oaRow.getAttribute("OtherJobSts");
    /* 737 */     if (OtherJobSts == null) {
    /* 738 */       throw new OAException("Another Job Satisfaction : Value should be selected");
    /* 741 */     Number OtherInfoSts = (Number)oaRow.getAttribute("OtherInfoSts");
    /* 742 */     if (OtherInfoSts == null) {
    /* 743 */       throw new OAException("Other Info Satisfaction : Value should be selected");
    /* 746 */     Number TrainingSts = (Number)oaRow.getAttribute("TrainingSts");
    /* 747 */     if (TrainingSts == null) {
    /* 748 */       throw new OAException("Training Satisfaction : Value should be selected");
    /* 751 */     Number PositiveWorkSts = (Number)oaRow.getAttribute("PositiveWorkSts");
    /* 752 */     if (PositiveWorkSts == null)
    /* 753 */       throw new OAException("Positive Work Satisfaction : Value should be selected");
    /*     */   public void execWfRn(String reqId)
    /* 758 */     OAViewObject XxTedReqStatusVO = getXxTedReqStatusVO1();
    /* 759 */     XxTedReqStatusVO.setWhereClause("rej_flg <> 1 and RequestId = " + reqId);
    /* 760 */     XxTedReqStatusVO.executeQuery();
    /*     */   public void validateBlob(String vblob)
    /* 765 */     if (vblob == null)
    /* 766 */       throw new OAException("You should upload the attached resignation");
    /*     */   public void validateHrForm()
    /* 771 */     OAViewObject validateVo = getXxTedExitInterviewVO1();
    /* 772 */     OARow oaRow = (OARow)validateVo.getCurrentRow();
    /* 773 */     Date IntDate = (Date)oaRow.getAttribute("InterviewDate");
    /* 774 */     if (IntDate == null) {
    /* 775 */       throw new OAException("You should enter an interview date");
    /* 778 */     String Intterviewer = (String)oaRow.getAttribute("InterviewerName");
    /* 779 */     if (Intterviewer == null)
    /* 780 */       throw new OAException("You should enter the interview data");
    /*     */   public void clearForm()
    /* 785 */     OAViewObject mainVo = getXxTedExitInterviewVO1();
    /* 786 */     OAViewObject XxTedLeaveResVO = getXxTedLeaveResVO1();
    /* 787 */     XxTedLeaveResVO.clearCache();
    /* 788 */     XxTedLeaveResVO.executeQuery();
    /* 789 */     OAViewObject XxTedCompenVO = getXxTedCompenVO1();
    /* 790 */     XxTedCompenVO.clearCache();
    /* 791 */     XxTedCompenVO.executeQuery();
    /* 793 */     OAViewObject XxTedJobIssueVO = getXxTedJobIssueVO1();
    /* 794 */     XxTedJobIssueVO.clearCache();
    /* 795 */     XxTedJobIssueVO.executeQuery();
    /* 797 */     OAViewObject XxTedRelIssueVO = getXxTedRelIssueVO1();
    /* 798 */     XxTedRelIssueVO.clearCache();
    /* 799 */     XxTedRelIssueVO.executeQuery();
    /* 801 */     OAViewObject XxTedCultIssueVO = getXxTedCultIssueVO1();
    /* 802 */     XxTedCultIssueVO.clearCache();
    /* 803 */     XxTedCultIssueVO.executeQuery();
    /* 805 */     OAViewObject XxTedAnotherJobVO = getXxTedAnotherJobVO1();
    /* 806 */     XxTedAnotherJobVO.clearCache();
    /* 807 */     XxTedAnotherJobVO.executeQuery();
    /* 809 */     mainVo.removeCurrentRow();
    /*     */   public XxIntrvLOVVOImpl getXxIntrvLOVVO1()
    /* 815 */     return (XxIntrvLOVVOImpl)findViewObject("XxIntrvLOVVO1");
    /*     */   public XxLoGImpl getXxLoG1()
    /* 820 */     return (XxLoGImpl)findViewObject("XxLoG1");
    /////////////////////////////lamiaa///////////////
                 public XxTedExtVONEWImpl getXxTedExtVONEW1()
                    return (XxTedExtVONEWImpl)findViewObject("XxTedExtVONEW1");
      /////////////////////////////lamiaa///////////////
    /* Location:           D:\Oracle_developer\p8431482_R12_GENERIC_QF\jdevhome\jdev\myclasses\
    * Qualified Name:     xxted.oracle.apps.per.extint.server.XxTedExtAMImpl
    * JD-Core Version:    0.6.2

    The error message means you have not added the View Object to AM.
    You need to add the View Object to the AM and move the AM files to the server and bounce the server.
    Cheers
    AJ

  • Personalization of view object

    Hi All,
    I am newly working OAF. There is level Called "*Auction/RFQ*" in TRE Sourcing Specialst. Which need to be change to "*RFB/RFQ*".
    When I am going through personalization page, I cant see the Particular Field. When I am checking in About this page, I found this Field. Which is mentioned as View Object.
    How can I Personalize that level.
    Any Suggestion?
    Thanks in Advance,
    Deepak.

    Deepak,
    I am not aware about the Sourcing Page in much Detail ... but i think the Item is being created dynamically.
    Try to enable Enable Profile Option...
    FND: Personalization Region Link Enabled / FND_PERSONALIZATION_REGION_LINK_ENABLED
    Description - Note: Enabling the "Personalize Region" links allows users to also personalize
    regions that are dynamically added to the page from custom code in the controller
    (that is, regions added using createWebBean(OAPageContext pageContext, String reference, String
    name, boolean isMDS) in the oracle.apps.fnd.framework.webui.OAWeb BeanFactory class). These dynamicallyadded
    regions always display "Personalize Region" links, even if the profile value is set to Minimal.
    Regards,
    Gyan

  • Questions on ADF View Objects, Links and Iterators

    I have a number of questions regarding using ViewObjects in applications where there are alot of relationships between tables.
    First, lets say that I have ViewObject SomeView that was added to the App Module (AM) as VO1. And because it has a number of "detail" records that have to be iterated through in a "report like" view it has those other VO's added under it as "children" in the AM.
    So I have
    VO1 (an instance of SomeView)
    --> VO2 (an instance of some other view)
    --> VO3 (an instance of some other view)
    that is used on pages where only a single VO1 is shown at a time.
    Now because I had another page I wanted to make that had a listing of all SomeView objects. Some of the fields in SomeView are foreign keys to records in VO2 and VO3 and while I don't want to show all the fields from VO2 and VO3, I do want to show a name field from each rather than just the foreign key.
    My experience (though I've never read this anywhere) tells me that when doing a "table" that is a list of rows from a VO, you can't display info from the child VO's because the child VO's are on whatever record corresponds to the "currentRow" in the parent VO and just displaying the rows in a rangeSet doesn't make each the "currentRow" so even we display 10 records in a for loop, the "currentRow" is just one, and the child VO's iterators aren't moved as we go through the for loop. (Can someone confirm if I am correct on this conclusion????)
    So the only way I know of to show some field from a related table in each row is to make the VO have the entity objects from the related tables be part of the view as references. Is this the only way?
    If I do that on a view that didn't have other views as children defined in the AM I don't have any problem and it works like I want.
    But if I do it on a view that did have other views as children defined in the AM it makes the page(s) using that view with the children iterators behave badly. Half the information quits showing up, etc.
    For example, ... if I go to the "SomeView" which was defined with only one entity object association, and I add the entity objects (that are the basis of instances of VO2 and VO3 ) as referenceable only, it totally breaks the page where I display a single VO1 and use it's VO2 and VO3 children. IS THIS NORMAL OR AM I MISSING SOMETHING?
    So, is the solution that I have to have more view objects defined for different purposes ?
    Can anyone give any general guidelines for when/where to use different view objects vs. when to use different iterators. I'm not having much luck with using secondary RSI's and haven't found much info on them.
    Also, how about issues of naming iterators that are in various binding containers (ie. UI Model for a page). If I do and LOV it creates an iterator and gives it a default name like ViewNameIterator1. If I already have a different page that uses a regular (non LOV) iterator with that name, and the user goes back and forth between those pages, is that a clash?
    Finally, I've read a couple of Steve Muench's blogs on View Link consistency but I'm not sure what the rules are on when it applies and doesn't. How you turn it on or off, etc. One of his examples in http://radio.weblogs.com/0118231/2004/02/27.html talks about it in the context of two view objects that are NOT typically "linked" in a master/detail kind of way. Like an AllDepartments and a DepartmentsLessThan view. Do you have to create a View Link between them to have results of one be reflected in the other if they aren't used in the same page in a web app? Or does it happen automatically (with the caveat that you have to do the rowQualifies method). Just feels like I'm missing some pieces.
    Thanks in advance,
    Lynn

    Hi,
    I am also interested in a best-practice note from oracle.
    Currently we store history in seperate history tables for columns that changed. All this implemented in our BaseEoImpl overriding the EntityImpl.prepareForDML().
    Thanks

  • A dynamic View object at runtime

    Say there is an inputtext component and one LOV. User will enter a number, say 7, and then press a Submit button. And then in the LOV, user will be able to see the numbers from 1 to 7.
    Is it possible to achieve the same?

    Hi,
    am not sure what exactly you are trying to achieve here,
    but from your description, it looks like a query dependency to me..
    So in your VO that will be used as the List of Values for the attribute you want, create a View Criteria that meets the requirement you want (seems like 'Less than or Equal To' is what you need).
    So eventually, you will end up with a ViewCriteria and one bindVarialble in that LOV View Object.
    Since you havent described your BC model, I can only assume that you have one main VO and both UI component are binded to attributes of that VO.
    Now go back to your main VO and update the LOV View AcCessor to use the ViewCriteria specifying the proper value on the Bind Variable.
    Hope this helps,
    Regards,
    Dimitrios.

  • View Object to read data from a java file

    Hi,
    I am using JDeveloper 11.1.1.4 and ADF-BC in my application.
    For one of my view objects , I want the data to be read from a java file which exposes some method to return a collection.
    I cannot use a static view object in this case.
    Please suggest the best way to implement this requirement.Basically build a view object that should read data from a java file.
    Thanks,
    Praveen

    Depending on your use case you can either use a programmatic VO or directly expose the JV class as a data control.
    http://docs.oracle.com/cd/E18941_01/tutorials/jdtut_11r2_36/jdtut_11r2_36.html

  • Refreshing the screen using a View Object

    Hi Experts,
    Here is my requirement.
    I have a View Object which queries the database and displays the results.
    So I want to my VO to be executed when I click on Refresh button.
    How can I achieve this?
    Is there any example for this?
    Thanks in advance

    I think the mistake u did is populating the collection/entity of your custom view in some other place rather than on_new_focus method of the context class. So when u first time come to the view, it is calling your custom code and populating your custom view. But when u click new, it is not executing that method and it is not refreshing. on_new_focus is called everytime
    you change to new or open in edit mode..that method should be declared as event handler method..
    Move your code to the on_new_focus method of the particular context node. see standard codes how that is created and used...
    e.g. you can see the component/view BT112H_SC/Details, context node BTPARTNERSET and method CREATE_BTPARTNERSET of CL_BT112H_S_DETAILS_CTXT of how it is used.

  • Error in Creation of a New View Object from Existing Entites

    I define a Complex JOIN in the expert mode of the View Object Creation Mode. On trying to access the VO, the system returns an error, unable to creat View Objecy.
    THe SQL Statement begins with
    SELECT * from ( select ...My actual Query)
    Is it possible to define ur own view objects with the same flexibility as the Data Tables

    Hi Saket,
    Following will be required for created a custom business object.
    1. Object Type - ZTEST (Internal Techincal Key)
    2. Object Name - ZTESTNAME (Technical Key Name)
    3. Name - TEST (Name of BO, it is used while selecting the object type)
    4. Description - (Short Description of BO)
    5. Program - ZTESTPROGRAM (ABAP program in which the methods of the object type are implemented)
    6. Application - A or B.. etc (Area to which your BO is related)
    Please remember that you can learn these basic things by giving F1 help on those fields and in HELP.SAP.COM.
    Regards,
    Gautham Paspala

Maybe you are looking for

  • How can I get rid of the dark area on top one third of my iphone screen which spoils my background image?

    How can I get rid of the dark area on top one third of my iphone screen which spoils my background image? It seems this problem is caused by the software to increase the readibility of upper letters (clock battery etc.) It be nice to leave us the con

  • Wrong dates shown in iPad app store updates list

    The dates listed for the app updates in my iPad's app store are wrong! They used to show the date of each app's most recent update, but now they show each app's ORIGINAL availability date. My iPod, on the other hand, doesn't have this problem. What's

  • Get error message when I try to download pictures from my camera to Iphoto.

    Whenever I try to download photos from my digital camera to my Iphoto application in my Mac Book Pro laptop, I'm getting an error message that "startup disk is running low on space" and to delete some files before I try to download again. I also trie

  • Redefining Shortcut Key Commands??

    How would i go about redefining the R key (currently set to record) to Zoom In? I am so used to the ProTools shortcut keys, I rebound them in Logic Pro 7.2, but they seem grayed out in the "Logic Pro > Preferences > Key Commands" Menu I can't figure

  • "Favorites" in Maps and Drive+

    Using Nokia 920: As if it is not bad enough that Maps and Drive+ are two separate apps, even though they are sharing the same map files (thank God!), I am wondering why they are also not sharing the same set of Favorites? If I have added a favorite t