Extending seeded MyReqVO

I would like to extend the seeded MyReqVO.
I added some returned results that were not included in the existing VO.
No problem so far...
I made the substitution using my jpx.
When I ran the new VO all looked good, I could personalize the display to show my results on the from ReqSummaryPG.
But when I go to change a Req, clicking the chnage button, I get a null pointer exception that results from a call to :
java.lang.NullPointerException
     at oracle.apps.icx.por.reqmgmt.webui.RMBaseCO.getActionForButtonClicked(RMBaseCO.java:708).
Looking at the imported CO, getActionForButtonClicked(oracle.jbo.Row param1, oracle.apps.fnd.framework.webui.OAPageContext param2)
I see that the entire row is passed into the CO processed into a bean and onto RMBaseCO.processSummaryFormRequest(RMBaseCO.java:631) and so on...
I also see from the MyReqVO that there are several transient attributes that appear to not used in the VO.
Is it possible to piggy back onto thiose and then make the display pretty with a personalization?
Or should one extend the CO, in this case, RMBaseCO?
If so where is the best place to strip out the new row values?
in the getActionForButtonClicked, or some other method?
Should I make a PVO to process there instead?
I am new to extentions in OAFramework.
Thanks in advance.
David

Thankyou for your response.
I tried have tried your suggestion.
I removed my customization by clearing it from the MDS repository and removed the personalizations.
It then all worked without my customization, I could go to Change.
I then reapplied my customization without the persoanlizations to show the new data, and the problem came back.
I think my problem is with the CO associated with myReqVO, ReqSummaryCO.
But the null pointer exception starts with RMBaseCO.getActionForButton with the passed in jbo.row.
Would I need to customize the ReqSummaryCO along with my custom MyReqVO?
Thanks.
David

Similar Messages

  • Error while extending seeded page VO ORA-01007: variable not in select list

    hi all,
    i am trying to extend seeded vo on page after changing query of VO, i am getting this error on page
    please help it urgent
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT PPF.PERSON_ID, PPF.EFFECTIVE_START_DATE, PPF.EFFECTIVE_END_DATE, VAC.VACANCY_ID, PPB.PAY_BASIS_ID, null as PAY_PROPOSAL_ID, POV.VENDOR_ID, IPC.POSTING_CONTENT_ID, Sex.LOOKUP_TYPE, Sex.LOOKUP_CODE, MAR.LOOKUP_TYPE AS LOOKUP_TYPE1, MAR.LOOKUP_CODE AS LOOKUP_CODE1, TIT.LOOKUP_TYPE AS LOOKUP_TYPE2, TIT.LOOKUP_CODE AS LOOKUP_CODE2, PPF.APPLICANT_NUMBER, PPF.DATE_OF_BIRTH, PPF.EMAIL_ADDRESS, TIT.MEANING, PPF.FULL_NAME, PPF.FIRST_NAME, PPF.HONORS, PPF.LAST_NAME, PPF.KNOWN_AS, PPF.MIDDLE_NAMES, NAT.MEANING AS NATIONALITY, PPF.NATIONAL_IDENTIFIER, PPF.PREVIOUS_LAST_NAME, PPF.SUFFIX, Sex.MEANING AS MEANING1, MAR.MEANING AS MARITAL_STATUS_MEANING, PPF.ATTRIBUTE_CATEGORY, PPF.ATTRIBUTE1, PPF.ATTRIBUTE2, PPF.ATTRIBUTE3, PPF.ATTRIBUTE4, PPF.ATTRIBUTE5, PPF.ATTRIBUTE6, PPF.ATTRIBUTE7, PPF.ATTRIBUTE8, PPF.ATTRIBUTE9, PPF.ATTRIBUTE10, PPF.ATTRIBUTE11, PPF.ATTRIBUTE12, PPF.ATTRIBUTE13, PPF.ATTRIBUTE14, PPF.ATTRIBUTE15, PPF.ATTRIBUTE16, PPF.ATTRIBUTE17, PPF.ATTRIBUTE18, PPF.ATTRIBUTE19, PPF.ATTRIBUTE20, PPF.ATTRIBUTE21, PPF.ATTRIBUTE22, PPF.ATTRIBUTE23, PPF.ATTRIBUTE24, PPF.ATTRIBUTE25, PPF.ATTRIBUTE26, PPF.ATTRIBUTE27, PPF.ATTRIBUTE28, PPF.ATTRIBUTE29, PPF.ATTRIBUTE30, PPF.PER_INFORMATION_CATEGORY, PPF.PER_INFORMATION1, PPF.PER_INFORMATION2, PPF.PER_INFORMATION3, PPF.PER_INFORMATION4, PPF.PER_INFORMATION5, PPF.PER_INFORMATION6, PPF.PER_INFORMATION7, PPF.PER_INFORMATION8, PPF.PER_INFORMATION9, PPF.PER_INFORMATION10, PPF.PER_INFORMATION11, PPF.PER_INFORMATION12, PPF.PER_INFORMATION13, PPF.PER_INFORMATION14, PPF.PER_INFORMATION15, PPF.PER_INFORMATION16, PPF.PER_INFORMATION17, PPF.PER_INFORMATION18, PPF.PER_INFORMATION19, PPF.PER_INFORMATION20, PPF.PER_INFORMATION21, PPF.PER_INFORMATION22, PPF.PER_INFORMATION23, PPF.PER_INFORMATION24, PPF.PER_INFORMATION25, PPF.PER_INFORMATION26, PPF.PER_INFORMATION27, PPF.PER_INFORMATION28, PPF.PER_INFORMATION29, PPF.PER_INFORMATION30, PPF.ORIGINAL_DATE_OF_HIRE, PPF.TOWN_OF_BIRTH, PPF.REGION_OF_BIRTH, COB.TERRITORY_SHORT_NAME AS COUNTRY_OF_BIRTH, ORG.NAME AS ORG_NAME, ORG.ORGANIZATION_ID, VAC.NAME, VAC.DESCRIPTION, PPB.NAME AS NAME3, PPB.PAY_BASIS, PPB.ANNUALIZED_HOURS, null as PROPOSED_SALARY_N, null as REVIEW_DATE, POV.VENDOR_NAME, IPC.NAME AS POSTING_NAME, ( Select pet.input_currency_code from PAY_INPUT_VALUES_F piv, PAY_ELEMENT_TYPES_F pet where piv.input_value_id = PPB.input_value_id AND trunc(sysdate) BETWEEN piv.effective_start_date AND piv.effective_end_date AND pet.element_type_id = piv.element_type_id AND trunc(sysdate) BETWEEN pet.effective_start_date AND pet.effective_end_date ) AS CURRENCY ,null as OFFER_ID, null as DISCRETIONARY_JOB_TITLE, null as PROPOSED_START_DATE, null as EXPIRY_DATE, null as ATTRIBUTE_CATEGORY1, null as OFFERS_ATTRIBUTE1, null as OFFERS_ATTRIBUTE2, null as OFFERS_ATTRIBUTE3, null as OFFERS_ATTRIBUTE4, null as OFFERS_ATTRIBUTE5, null as OFFERS_ATTRIBUTE6, null as OFFERS_ATTRIBUTE7, null as OFFERS_ATTRIBUTE8, null as OFFERS_ATTRIBUTE9, null as OFFERS_ATTRIBUTE10, null as OFFERS_ATTRIBUTE11, null as OFFERS_ATTRIBUTE12, null as OFFERS_ATTRIBUTE13, null as OFFERS_ATTRIBUTE14, null as OFFERS_ATTRIBUTE15, null as OFFERS_ATTRIBUTE16, null as OFFERS_ATTRIBUTE17, null as OFFERS_ATTRIBUTE18, null as OFFERS_ATTRIBUTE19, null as OFFERS_ATTRIBUTE20, null as OFFERS_ATTRIBUTE21, null as OFFERS_ATTRIBUTE22, null as OFFERS_ATTRIBUTE23, null as OFFERS_ATTRIBUTE24, null as OFFERS_ATTRIBUTE25, null as OFFERS_ATTRIBUTE26, null as OFFERS_ATTRIBUTE27, null as OFFERS_ATTRIBUTE28, null as OFFERS_ATTRIBUTE29, null as OFFERS_ATTRIBUTE30 ,null as ASSIGNMENT_ID, null as EFFECTIVE_START_DATE1, null as EFFECTIVE_END_DATE1, null as DATE_PROBATION_END, null as NORMAL_HOURS, null as PERF_REVIEW_PERIOD, null as PERF_REVIEW_PERIOD_FREQUENCY, null as SAL_REVIEW_PERIOD, null as SAL_REVIEW_PERIOD_FREQUENCY, null as TIME_NORMAL_START, null as TIME_NORMAL_FINISH, null as ASS_ATTRIBUTE_CATEGORY, null as ASS_ATTRIBUTE1, null as ASS_ATTRIBUTE2, null as ASS_ATTRIBUTE3, null as ASS_ATTRIBUTE4, null as ASS_ATTRIBUTE5, null as ASS_ATTRIBUTE6, null as ASS_ATTRIBUTE7, null as ASS_ATTRIBUTE8, null as ASS_ATTRIBUTE9, null as ASS_ATTRIBUTE10, null as ASS_ATTRIBUTE11, null as ASS_ATTRIBUTE12, null as ASS_ATTRIBUTE13, null as ASS_ATTRIBUTE14, null as ASS_ATTRIBUTE15, null as ASS_ATTRIBUTE16, null as ASS_ATTRIBUTE17, null as ASS_ATTRIBUTE18, null as ASS_ATTRIBUTE19, null as ASS_ATTRIBUTE20, null as ASS_ATTRIBUTE21, null as ASS_ATTRIBUTE22, null as ASS_ATTRIBUTE23, null as ASS_ATTRIBUTE24, null as ASS_ATTRIBUTE25, null as ASS_ATTRIBUTE26, null as ASS_ATTRIBUTE27, null as ASS_ATTRIBUTE28, null as ASS_ATTRIBUTE29, null as ASS_ATTRIBUTE30, null as PROJECT_TITLE ,JOB.JOB_ID, JOB.NAME AS NAME2 ,null AS ADDRESS_ID, null AS ADDRESS_LINE1, null AS ADDRESS_LINE2, null AS ADDRESS_LINE3, null AS ADDRESS_TYPE, null AS COUNTRY, null AS POSTAL_CODE, null AS REGION_1, null AS REGION_2, null AS REGION_3, null AS TOWN_OR_CITY, null AS DERIVED_LOCALE ,GRD.NAME AS NAME1, GRD.GRADE_ID ,LOC.STYLE, LOC.ADDRESS_LINE_1 AS ADDRESS_LINE11, LOC.ADDRESS_LINE_2 AS ADDRESS_LINE21, LOC.ADDRESS_LINE_3 AS ADDRESS_LINE31, LOC.TOWN_OR_CITY AS TOWN_OR_CITY1, LOC.COUNTRY AS COUNTRY1, LOC.POSTAL_CODE AS POSTAL_CODE1, LOC.REGION_1 AS REGION11, LOC.REGION_2 AS REGION21, LOC.REGION_3 AS REGION31, LOC.DERIVED_LOCALE AS DERIVED_LOCALE1, LOC.LOCATION_ID ,null as POSITION_NAME, null as POSITION_ID, null as POS_EFFECTIVE_START_DATE, null as POS_EFFECTIVE_END_DATE ,MGRTIT.MEANING AS MANAGER_TITLE_MEANING, MGR.FULL_NAME AS FULL_NAME1, MGR.EFFECTIVE_START_DATE AS MGR_EFFECTIVE_START_DATE, MGR.EFFECTIVE_END_DATE AS MGR_EFFECTIVE_END_DATE, MGR.FIRST_NAME AS MANAGER_FIRST_NAME, MGR.LAST_NAME AS MANAGER_LAST_NAME, MGR.HONORS AS MANAGER_HONORS, MGR.KNOWN_AS AS MANAGER_KNOWN_AS, MGR.PERSON_ID AS PERSON_ID1, MGRTIT.LOOKUP_TYPE AS LOOKUP_TYPE4, MGRTIT.LOOKUP_CODE AS LOOKUP_CODE4, MGRPHN.PHONE_NUMBER AS MGR_PHONE_NUMBER, MGRPHN.PHONE_ID, MGRFAX.PHONE_NUMBER AS MGR_FAX_NUMBER, MGRFAX.PHONE_ID AS PHONE_ID1 ,RECTIT.MEANING AS RECRUITER_TITLE_MEANING, REC.FULL_NAME AS RECRUITER_FULL_NAME, REC.EFFECTIVE_START_DATE AS EFFECTIVE_START_DATE2, REC.EFFECTIVE_END_DATE AS EFFECTIVE_END_DATE2, REC.FIRST_NAME AS FIRST_NAME2, REC.LAST_NAME AS LAST_NAME2, REC.HONORS AS HONORS2, REC.KNOWN_AS AS KNOWN_AS2, REC.PERSON_ID AS PERSON_ID2, RECTIT.LOOKUP_TYPE AS LOOKUP_TYPE3, RECTIT.LOOKUP_CODE AS LOOKUP_CODE3, RECPHN.PHONE_NUMBER AS REC_PHONE_NUMBER, RECPHN.PHONE_ID AS PHONE_ID2, RECFAX.PHONE_NUMBER AS REC_FAX_NUMBER3, RECFAX.PHONE_ID AS PHONE_ID3 FROM PER_ALL_PEOPLE_F PPF, PER_ALL_VACANCIES VAC, PER_PAY_BASES PPB, PO_VENDORS POV, HR_ALL_ORGANIZATION_UNITS_VL ORG, IRC_AGENCY_VACANCIES IAV, IRC_POSTING_CONTENTS_VL IPC, HR_LOOKUPS Sex, HR_LOOKUPS MAR, HR_LOOKUPS TIT, HR_LOOKUPS NAT, FND_TERRITORIES_VL COB ,PER_JOBS_VL JOB ,PER_GRADES_VL GRD ,HR_LOCATIONS_ALL_VL LOC ,PER_ALL_PEOPLE_F MGR, HR_LOOKUPS MGRTIT, PER_PHONES MGRPHN, PER_PHONES MGRFAX ,PER_ALL_PEOPLE_F REC, HR_LOOKUPS RECTIT, PER_PHONES RECPHN, PER_PHONES RECFAX WHERE PPF.person_id = 1476389 and trunc(sysdate) between PPF.effective_start_date and PPF.effective_end_date and VAC.vacancy_id = 52851 and PPB.pay_basis_id(+) = 350 and ORG.organization_id(+) = 7036 and VAC.vacancy_id = IAV.vacancy_id(+) and IAV.agency_id = POV.vendor_id(+) and VAC.primary_posting_id = IPC.posting_content_id(+) and PPF.sex = SEX.lookup_code(+) and SEX.lookup_type(+) = 'SEX' and PPF.title = TIT.lookup_code(+) and TIT.lookup_type(+) = 'TITLE' and PPF.marital_status = MAR.lookup_code(+) and MAR.lookup_type(+) = 'MAR_STATUS' and PPF.nationality = NAT.lookup_code(+) and NAT.lookup_type(+) = 'NATIONALITY' and PPF.COUNTRY_OF_BIRTH = COB.TERRITORY_CODE(+) and JOB.job_id(+) = 10772 and GRD.grade_id(+) = 2265 and LOC.location_id(+) = 1057 and MGR.person_id(+) = 730283 and trunc(sysdate) between MGR.effective_start_date(+) and MGR.effective_end_date(+) and MGR.title = MGRTIT.lookup_code(+) and MGRTIT.lookup_type(+) = 'TITLE' and MGR.PERSON_ID = MGRPHN.PARENT_ID(+) and MGRPHN.PARENT_TABLE(+) = 'PER_ALL_PEOPLE_F' and nvl(MGRPHN.phone_type(+), 'W1') = 'W1' and trunc(sysdate) between nvl(MGRPHN.date_from, trunc(sysdate)) and NVL(MGRPHN.date_to, trunc(sysdate)) and MGR.PERSON_ID = MGRFAX.PARENT_ID(+) and MGRFAX.PARENT_TABLE(+) = 'PER_ALL_PEOPLE_F' and nvl(MGRFAX.phone_type(+), 'WF') = 'WF' and trunc(sysdate) between nvl(MGRFAX.date_from, trunc(sysdate)) and NVL(MGRPHN.date_to, trunc(sysdate)) and REC.person_id(+) = 704260 and trunc(sysdate) between REC.effective_start_date(+) and REC.effective_end_date(+) and REC.title = RECTIT.lookup_code(+) and RECTIT.lookup_type(+) = 'TITLE' and REC.PERSON_ID = RECPHN.PARENT_ID(+) and RECPHN.PARENT_TABLE(+) = 'PER_ALL_PEOPLE_F' and nvl(RECPHN.phone_type(+), 'W1') = 'W1' and trunc(sysdate) between nvl(RECPHN.date_from, trunc(sysdate)) and NVL(RECPHN.date_to, trunc(sysdate)) and REC.PERSON_ID = RECFAX.PARENT_ID(+) and RECFAX.PARENT_TABLE(+) = 'PER_ALL_PEOPLE_F' and trunc(sysdate) between nvl(RECFAX.date_from, trunc(sysdate)) and NVL(RECFAX.date_to, trunc(sysdate))
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:975)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.per.irc.offers.webui.IrcSaveForLaterCO.processFormRequest(IrcSaveForLaterCO.java:208)
         at oracle.apps.per.irc.offers.webui.CreateOfferCO.processFormRequest(CreateOfferCO.java:181)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01007: variable not in select list
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2566)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
         at oracle.apps.per.irc.offers.server.OfferLetterDetailsVOImpl.executeQuery(OfferLetterDetailsVOImpl.java:621)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getXMLDataFromBaseTables(OffersAMImpl.java:1523)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getOfferLetterDataBlobDirect(OffersAMImpl.java:2186)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getXMLData(OffersAMImpl.java:1627)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.apiValidate(OffersAMImpl.java:2167)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.per.irc.offers.webui.IrcSaveForLaterCO.processFormRequest(IrcSaveForLaterCO.java:208)
         at oracle.apps.per.irc.offers.webui.CreateOfferCO.processFormRequest(CreateOfferCO.java:181)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01007: variable not in select list
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:590)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1973)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1119)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2566)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2963)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:584)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4507)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
         at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
         at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
         at oracle.apps.per.irc.offers.server.OfferLetterDetailsVOImpl.executeQuery(OfferLetterDetailsVOImpl.java:621)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getXMLDataFromBaseTables(OffersAMImpl.java:1523)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getOfferLetterDataBlobDirect(OffersAMImpl.java:2186)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.getXMLData(OffersAMImpl.java:1627)
         at oracle.apps.per.irc.offers.server.OffersAMImpl.apiValidate(OffersAMImpl.java:2167)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:190)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:133)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:784)
         at oracle.apps.per.irc.offers.webui.IrcSaveForLaterCO.processFormRequest(IrcSaveForLaterCO.java:208)
         at oracle.apps.per.irc.offers.webui.CreateOfferCO.processFormRequest(CreateOfferCO.java:181)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:810)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1159)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1022)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:988)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:843)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2675)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1682)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:508)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:429)
         at oa_html._OA._jspService(_OA.java:85)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

    Hi Vivek,
    have a look on below comments, it may help you.
    This problem will occur if you have application developed in older JDeveloper version (i.e. 9.0.5) deployed on OAS 9.0.x. In older versions there was no syntax check of this type in a data source class. But there is a workaround. Instead of using oracle.jdbc.pool.OracleDataSource data source class within ojdbc14.jar you can use oracle.jdbc.pool.OracleDataSource within classes12.jar.
    Classes12.jar was used in older OAS versions.
    All you have to do is to copy classes12.jar to $ORACLE_HOME/jdbc/lib and then in OAS Server Properties screen in java options add:
    -Xbootclasspath/p:/$ORACLE_HOME/jdbc/lib/classes12.jar statement.
    Rename ojdbc14.jar to ojdbc14.zip, restart the OAS instance. This should work.
    Regards,
    Naren.

  • Error while extending seeded vo, now cant get it back.

    1. I extended a seeded SSMonitorStatusVO and placed it in package : mac.oracle.apps.fnd.wf.monitor.server called as MySSMonitorStatusVO
    2. added another column (description) in the query. Query runs fine in sql navigator.
    3. added substitution in jpx ,
    4. added a column in MonitorStatusPG.xml through personalization in the table,
    view instance = parent vo (i. e. SSMonitorStatusVO) , view attribute = description
    5. uploaded all the new files on server in $JAVA_TOP/mac/....
    compiled VO.java file on server itself to make sure of version difference.
    6. upload jpx using the script :
    C:\Jdev6012619\jdevbin\jdev\bin\jpximport C:\Jdev6012619\jdevhome\jdev\myprojects\workflow.jpx -username apps -password aaaaa4 -dbconnection "(description = (address_list = (address = (protocol = tcp)(host = -------.com)(port = 1521)))(connect_data = (sid = MACH)))"
    GIves me a msg :
    Imported document : /oracle/apps/fnd/wf/monitor/server/customizations/site/0/SSMonitorStatusVO
    Import completed successfully
    7. Bounce Apache
    When I revisit the OAF page : I get error :
    oracle.apps.fnd.framework.OAException: Could not load application module 'oracle.apps.fnd.wf.monitor.server.MonitorStatusSSAM'. at oracle.apps.fnd.framework.webui.OAJSPApplicationRegistry.registerApplicationModule(OAJSPApplicationRegistry.java:279)
    ## Detail 0 ## JBO-30003: The application pool (sasas1.company.comMACH1521oracle.apps.fnd.wf.monitor.server.MonitorStatusSSAM) failed to checkout an application module due to the following exception: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.UnsupportedClassVersionError, msg=mac/oracle/apps/fnd/wf/monitor/server/MySSMonitorStatusVORowImpl (Unsupported major.minor version 49.0) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1619)
    I deleted the extension using jdr_utils.deletedocument(p_document => '/oracle/apps/fnd/wf/monitor/server/customizations/site/0/SSMonitorStatusVO');
    Also deleted the personalization , bounced apache again, but this page is giving me the same error.
    please help me to get it working.
    would be very grateful.

    I have one more question regarding this :
    when I go in functional administrator and enter the document path :
    /oracle/apps/fnd/wf/monitor/server and select 'Go' button
    I get this error :
    ## Detail 0 ##
    java.lang.NullPointerException
         at oracle.adf.mds.repos.api.DocumentReader.getFirstChunk(DocumentReader.java:250)
         at oracle.adf.mds.repos.api.DBAccess.loadDocumentAsXML(DBAccess.java:1248)
         at oracle.adf.mds.adapters.DBAdapter.getElementData(DBAdapter.java:302)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1244)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.personalization.webui.ApplnCatalogSearchCO.processFormRequest(ApplnCatalogSearchCO.java:173)
    If there was nothing present in that folder table should return no rows, but why null pointer exception ?
    Thanks

  • Extending Seeded iProc Page - Options

    Hi,
    I need to add extra information to a table on a seeded iProc page. I have successfully added extra columns by substituting the VO and adding columns however there isn't going to be enough space width-wise to accommodate all the fields I need to add. So I am planning on altering the table by adding in a "Detail Disclosure". As far as I can see my options are as follows:
    - Alter page (PG) adding in Detail section in table - reluctant to do this as this is unsupported and subject to being overwritten by upgrades.
    - Extending controller (CO) adding in code to create Detail section in table. Is this possible? Can you extend a CO? Can you create Page objects through code?
    Any help greatly appreciated.
    Thanks,
    Jon.

    Hi,
    I need to add extra information to a table on a seeded iProc page. I have successfully added extra columns by substituting the VO and adding columns however there isn't going to be enough space width-wise to accommodate all the fields I need to add. So I am planning on altering the table by adding in a "Detail Disclosure". As far as I can see my options are as follows:
    - Alter page (PG) adding in Detail section in table - reluctant to do this as this is unsupported and subject to being overwritten by upgrades.
    - Extending controller (CO) adding in code to create Detail section in table. Is this possible? Can you extend a CO? Can you create Page objects through code?
    Any help greatly appreciated.
    Thanks,
    Jon.

  • Extending Seeded Projects Pages, LOVs

    Hi,
    I would like some advice on what the best practice is for customizing the actual page layout in the OA Framework. We have a requirement to change an existing field (on a seeded page) from messageStyledText format to messageLovInput, i.e. making the field updateable and validated.
    Should we be creating a new page, should we be overwriting the existing page, or is there a way of making this change as a personalization?
    Also is there a way of substituting pages in the same way as you would substitute VO's as in the documentation?
    Thanks,
    Phil

    Thanks for your reply Srini,
    Our problem is that the page we'd like to change is a sub page of an AOL function. In this case: from the "Project Manager" Responsibility the AOL Function is "Project List", from there you select a project, then you select "Setup" then "Team Members" and finally "Update Team Member" (which is the page we would like to change)
    Does that mean that we would have to change/extend all of the pages in the navigation?
    The navigation from the "Team Members Page" to the "Update Team Member" page is done with a fireAction action type and not just a URI call. Is there a way to override that to call our New Update Page rather then replacing all the preceding pages?
    Thanks,
    Phil

  • ?Embedding custom region as an extension to seeded self-service page.

    Hello Tapash/All,
    I am extending one of the self service pages to add extra fields on the page to capture information.
    This is what I am planning to do based on the comments (from Tapash) that I got from my previous post.
    1. Create a custom table with additional columns with the primary key column that I need to capture.
    2. Create an EO, VO (based on the custom table) and AM.
    3. Create a Region RN.xml (advanced table) for the additional fields (for INSERT, UPDATE and DISPLAY on Query)
    4. Create a Controller CO on the Region (code to commit the trx in AMImpl)
    5. Attach this RN.xml to the seeded page via personalization.
    My question is:
    Where and how will the entered data on the new region get inserted/updated into the custom table ? ( Since, I can't create an **Apply/Submit** button separately for the new region....because there is an ***Apply/Submit*** button already exists on that page to process the seeded data.)
    Should I extend the Page controller to invoke the apply method from the AMImpl ?Please let me know and Thanks for all the help.

    **********Message not found. Application: FND, Message Name: FND_VIEWOBJECT_NOT_FOUND. Tokens: VONAME = xxSuppRegVO; APPLICATION_MODULE = oracle.apps.pos.suppreg.server.SupplierRegAM;
    Check if your custom AM is mentioned in the region xml file and not the seeded AM, because oracle.apps.pos.suppreg.server.SupplierRegAM , looks to be seeded AM.xxSuppRegVO is a custom VO, rite and you have not extended any seeded VO? If you have extended seeded VO, have you done substitution and uploaded jpx file on server?--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • OpptySearchVO - How to extend?

    Hello,
    I am trying to extend seeded vo (oracle.apps.asn.opportunity.server.OpptySearchVO) to add attribute1 field in the query.Its on Sales Dashboard page.
    However when I tried to match query from OpptySearchVO.xml file with one form about this page->OpptySearchVO1 (click link), I found these quite different.
    I located that the query is being modified in AM, However could not diagnose how its modifying.
    Anyway, I extended OpptySearchVO to add attribute1, but it errored out due to parameter issue of the query,While preparing the query.(I could not understood why).
    So I directly modified the seeded VO to add this new attribute, but still the same error.
    The new VO link query still does not include Attiribute1.
    In the AM code I could see that its performing some sort of replace ment etc.
    If any body has worked with this ,Please let me know.
    Abdul Wahid

    Hello Sumit,
    I located on forums that this issue has been discussed earlier and I am working on same thing which was done by author of this thread.But still no resolution.
    Sorry for giving just link to thread..Please suggest what should be my approach?
    The issue thread..
    impossible to substitute ASNOpptyQryAM :( , please help!
    This issue has been discussed in these other threads also but no result.
    Dissapointed with OAF. Trying to extend the OpptySearchVO (Sales module)
    Is oracle providing some resolutiion to this need?
    We are not on RUP6.
    Abdul Wahid

  • Need to show popup when the Submit button is clicked for the second time ..

    Hi guys,
    I have a requirement where i need to show a popup or alert when the submit button is clicked twice . When it is clicked for the first time one method is been called and its process starts. When the user clicks the submit button for the second time they should be shown a popup stating "Submit button already been clicked, please clicked OK to continue".
    Can anyone help with this please , its really urgent requirement ?
    Thanks in advance

    Hi,
    I dont have any sample code to give you now. For quick reference, I can advice some psuedo steps to achieve your requirement. I dont have access to JDEV to test this. If any syntax errors then pls correct yourself.
    1. Extend Controller since it is standard page ( Refer Anil Passi site for steps to extend seeded ontroller)
    2. Write below logic in your Process Request method
    super.processRequest(oaPageContext, oaWebBean);
    pageContext.putSessionValue("status", "notInitiated");
    3. Include below logic in your PFR method
    if(pageContext.getSessionValue("status")!=null){
    if("notInitiated".equals(pageContext.getSessionValue("status")))
    super.processFormRequest(oapagecontext, oawebbean);
    pageContext.putSessionValue("status", "initiated");
    else
    String message = "Display error message as required";
    throw new OAException(message, OAException.ERROR);
    You may need to import required packages ( Related to OAException).
    Remeber, to sumbit the request, user need to refresh the page again so that "status" variable will be refreshed.
    Hope it helps.
    Thanks
    venkat

  • How to add new custom SOAP header when generate webservice?

    Hi
    When invoke an external webservice, SOA Gateway provide a method to add new customized SOAP Header, via extending seeded java function "WebServiceInvokerSubscription".
    And in case of generating a new webservice in EBS, is there some similar method to add new customized SOAP header in the webservice?
    Thanks
    James

    Look at your Payment Process Profile. THere should be a reporting subtab and within that subtab is a Separate Remittance Advice region. I believe that is where you specify the format for the remittance advice document (which is built in XML Publisher). Take a look at that.
    John Dickey

  • Row Level PPR in Advanced Table with Add More Rows Button

    <br>
    I have programmatically fired PPR event on MessageChoice. But it is in Advanced Table with
    Add More Rows Button. When the value is changed in MessageChoice I Show/Hide Custom LOV
    through SPEL like this ${oa.BioEmployeePVO.EmpManagerRender} .
    But it is <b>hiding the all the ROWS</b> not just the row where the value has been changed.
    I even tried with this code and get NULL for rowReference.
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    In Processrequest()
    String pageName = pageContext.getRootRegionCode();
         Hashtable params = new Hashtable (1);
         params.put ("param1", pageName);
         Hashtable paramsWithBinds = new Hashtable(1);
        paramsWithBinds.put ("param2",new OADataBoundValueFireActionURL (mcb, "{$AttendeeType}"));
        mcb.setFireActionForSubmit ("empPositionChange", params, paramsWithBinds,false, false);
    In ProcessFormRequest() {
    if ("empPositionChange".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))   
          String rowReference = pageContext.getParameter("param2");
        //    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
         Serializable[] parameters = { rowReference };
          am.invokeMethod("handlePositionChangeEvent", parameters);
    <br>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    HI Kumar,
    Answer to your last post is "yes".
    Now to your doubt regarding the code:
    Hi Anna
    I am trying to understand your code.
    FireAction firePartialAction = new FirePartialAction("fireHideEvent"+(i/noOfTlaColSpan));
    HideImgBean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR,firePartialAction);
    1. What is this i/noOfTlaColSpan ?
    :)Forget abt this in your case it should be the event name which u r firing and capturing the it in the PFR.
    Like FireAction firePartialAction = new FirePartialAction("YOurEventName");
    and in PFR u can capture tht as:
    if("YOurEventName".equals(pageContext.getParameter(EVENT_PARAM)))
    //your logic to invoke AM method
    2. I believe this HideImgBean would be MessageChoice for me?
    :)Yep ur right
    3. This brcdOhInventoryViewUpdateVOImpl would be the Custom PVO(Extending Seeded Base VO)
    I create by adding the transient attributes?
    :)Yep ur right
    4. I cannot understand this code. Could you explain.
    :)Please look at my comments in some of the lines .I have explained wht i am doing
    if(updateIter==null)
    updateIter[0]= invViewVO.createRowSetIterator("updateIter");//This initViewVo should be ur custom VO object
    if(cnt>0)
    updateIter[0].setRangeStart(0);
    updateIter[0].setRangeSize(cnt);
    for(int i=0;i<cnt;i++)
    row = (brcdOhInventoryViewUpdateVORowImpl)updateIter[0].getRowAtRangeIndex(i);
    String selectFlag=(String)row.invokeMethod("getPartNumber");//This getPartNuber should be replaced by the Prim Key inoke methd of ur VO
    if(RowID.equals(selectFlag))
    //This is my logic to set the transient attributes based on the msgChoiceBean value ..u have to pass the value when u invoke this method
    if(reserveMethod.equals("BINARY"))
    System.out.println("In Binary");
    Boolean bVal= new Boolean("false");
    Serializable sr[]={bVal};
    Class []methodParamTypes = { bVal.getClass() };
    row.invokeMethod("setshowreservetxt",sr,methodParamTypes);
    Boolean bVal1= new Boolean("true");
    System.out.println("bVal1"+bVal1);
    Serializable sr1[]={bVal1};
    Class []methodParamTypes1 = { bVal1.getClass() };
    row.invokeMethod("setShowreservemsgchoice",sr1,methodParamTypes1);
    break;
    In my AM I am doing this. Am i doing right?:)Yep u r right
    BioPrescribersPVO is the custom VO(extending seeded base VO).
    public void handlePositionChangeEvent(String param)
    OAViewObject vo = (OAViewObject)findViewObject("BioPrescribersPVO");
    OARow row = (OARow)findRowByRef(rowReference);
    if (row != null)
    String position = (String)row.getAttribute("AttendeeType");
    if (("PRESCRIBER".equals(position)) )
    // BioEmpManagerRender is the transient attribute in BioPrescribersPVO.
    row.setAttribute("BioEmpManagerRender", Boolean.TRUE);
    row.setAttribute("BioPresManagerRender", Boolean.FALSE);
    else
    row.setAttribute("BioEmpManagerRender", Boolean.FALSE);
    row.setAttribute("BioPresManagerRender", Boolean.TRUE);
    } // end handlePositionChangeEvent()
    // Initializing the custom VO
    /*No need to initialize the VO because this is not a PVO(Propeties View object)
    U r just using the existing VO and tht vo shloud have a primary key.Tht way u can match the rowref u r getting with the actual row from the View object*/
    public void init()
    OAViewObject appPropsVO = (OAViewObject)getBioPrescribersPVO();
    if (appPropsVO != null)
    if (appPropsVO.getFetchedRowCount() == 0)
    appPropsVO.setMaxFetchSize(0); appPropsVO.executeQuery();
    appPropsVO.insertRow(appPropsVO.createRow());
    OARow row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    handlePositionChangeEvent("");
    } // end init()
    Thanks
    Anna

  • Customisation Query

    Hi,
    I have a seeded Oracle page - SimpleSearch panel region + the results table
    The data is fetched from a VO query .
    e.g select name,type,date from per_participants_table .
    When the page is first rendered(i.e even before user specifies the search criteria), the above query is executed and the table shows all the data .
    Requirement : Create a page that will list only those rows that have type as 'A'.
    e.g select name,type,date from per_participants_table WHERE type='A'
    The first page (seeded oracle page) behaviour should remain unchanged as before.
    Both the pages are based on same VO. So, I suppose view extension and jpx substitution will restrict rows to type='A' in both the pages and will not suit my requirement. Please comment if I am right on this.
    Do, i need to extend the am to create a new method that will set the additional where clause and then call this method from the processrequest of the extended co for this requirement?
    Or do we have any other way out?
    Thanks,
    Lal

    If your requirement is to create a new page with the functionality as you desired then best option is while creating custom page in JDeveloper create custom AM,VO,CO as required and use for your page.
    Call this custom page from seeded page using a button(created by personalization).
    No need to modify/extend seeded components.
    -Anand

  • After substitution of VO, which VO to get in CO ?

    I created a substitution, deployed jpx to server, all this works fine.
    I have a conceptual question :
    In controller when i try to access the VO, then which one should i grab ?
    OAViewObject PosViewLinesVO = (OAViewObject)am.findViewObject("EXTENDED_VO");
    or
    OAViewObject PosViewLinesVO = (OAViewObject)am.findViewObject("OriginalVO");
    thanks

    Prasanna :
    thats what I thought, but i get an error, so i was wondering if this calling the original vo was incorrect.
    Here is what i want to acheive :
    extend seeded vo, add a transient attribute (NO CHANGE IN THE QUERY as the orginal vo), created subsitituion, deployed it on server, No error untill I add code to access the transient attribute. At runtime I want to set the value of transient attr.
    I get this error :
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition TempAttr of type Attribute not found
    Also when I do about page : I can see my extended VO in view objects list. I click on the VO definition and I see the tempAttr added to the available attribute's list.
    I still get the above error.
    Help plz .
    thanks

  • Problem button Controller

    Hi , I'm very new to OAF and have this problem:
    I have a page with 2 buttons (A) and (B). (A) is added via personalization.
    when user click (A) have to disable button ( B ), under some conditions. ( ( A) action is to return in the same page ( refresh ) )
    I've extended a OAF Conroller class, compile it, and add it on the server ( in oracle/apps/pa/package/webui ).
    My problem is: how to tell OAF about this controller?
    I've tried to the specify in the personalization item, extend field, the path of the uploaded controller. I had an exception ( OAF doesn't recognize this class )
    Is any place in OAF I can specify the new Controller?
    I really need this info, anybody can help me? Thanks a lot!

    Hi,
    You can set the controller through Personalization also. Click on Personalize Page link which is on top of the page.
    --Personalization Structure
    Complete View - check it and also click on Expand All
    Then search for the region in which the buttons A & B are attached. Click on Personalize link[Pencil].
    There is a property over there name Controller Class. I have given below a example of it. Just add you controller there.
    Controller Class---> oracle.apps.csf.portal.task.webui.CsfPoTaskUpdateMainCO
    One thing also whenever you are making your own page or extending seeded region or CO, VO, AM then you should make a separate directory structure like
    companyname.oracle.apps.fnd.framework.toolbox.tutorial.....
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • OA Framework Toolbox

    Hi there,
    We are trying to customize HR Self Service and would like to use sub-tabs etc. as we see it in OA Framework Tutorial.
    Has anyone successfully done that? Would you pl. share your experience?
    Thanks a lot.
    Johnson

    are the business logic extensions the code that is created when u create entity/view objects, application modules and controllers?
    - That's correct, when you extend seeded bsiness objects or create new ones.
    also just so i can understand the process am i right in saying that the MDS is part of the database ie tables that are uised to create the pages from the UIX at runtime?
    - during development in jdev the metadata is read first from the file system in your jdev user home/myprojects and OAF will fall back to the database if it is not present in the file system. In the actual deployment you need to deploy the pages created in the MDS repository by using import tool.
    so u would load ur XML files into the MDS and then all ur java files into the folders described in the deplyoment section>??
    - that's correct, you load all the business objects, controller class files as well as the BC4J xml files in to the middle tier and the page xml file goes in to the db.

  • Multiple AM context

    Hi,
    I have added a custom search region using personalization to Oracle Seeded Search page. Custom region has its own custom AM which extends seeded AM(RequestionAM). Seeded page (ShoppingHomePG) has its own AM (RequestionAM).
    When I search using the custom region it displays "No Search Conducted" message on search results page.
    When I try to search on that region as standalone, search conducted and results displayed successfully.
    Can some body explain why it is happening?
    Even I checked the logs, the VO query is fired when search button pressed on the custom region.
    Are these two custom and seeded AM conflecting?
    Thanks
    Mukesh

    If the VO is executed then the results will be displayed in the UI.
    Tapash

Maybe you are looking for