oracle.apps.fnd.framework.OAException

oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT score (1) AS score, doc.document_id, doc.file_name, doc.last_update_date, ppf.email_address, addr.derived_locale, addr.address_id, ppf.full_name, inp.notification_preference_id, ppf.person_id, ppf.effective_start_date, ppf.effective_end_date, ROWNUM AS rownumber, pov.vendor_id, pov.vendor_name, inp.creation_date, NULL AS selectflag, (SELECT meaning FROM hr_lookups WHERE lookup_code = ircreferralinfoeo.source_type AND lookup_type = 'REC_TYPE') AS sourcetype, DECODE (ircreferralinfoeo.source_type, 'ER', (SELECT full_name FROM per_all_people_f ppf3 WHERE ppf3.person_id = ircreferralinfoeo.source_person_id AND SYSDATE BETWEEN ppf3.effective_start_date AND ppf3.effective_end_date), ircreferralinfoeo.source_name ) AS sourcename FROM irc_notification_preferences inp, irc_documents doc, per_addresses addr, per_all_people_f ppf, po_vendors pov, irc_referral_info ircreferralinfoeo WHERE trunc(sysdate) BETWEEN ppf.effective_start_date AND ppf.effective_end_date AND doc.person_id = inp.person_id AND inp.person_id = addr.person_id(+) AND NVL (inp.address_id, DECODE (addr.address_type(+), 'REC', addr.address_id(+), -1)) = addr.address_id(+) AND trunc(sysdate) BETWEEN addr.date_from(+) AND NVL (addr.date_to(+), sysdate) AND doc.person_id = ppf.person_id AND doc.TYPE IN ('RESUME', 'AUTO_RESUME') AND doc.end_date IS NULL AND EXISTS (SELECT NULL FROM per_people_f ppfs WHERE ppfs.person_id = doc.person_id) AND contains (doc.character_doc,:1,1) >0 AND ( (inp.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME')) OR ( fnd_profile.VALUE ('IRC_AGENCY_NAME') IS NULL AND inp.allow_access = 'Y' ) ) AND inp.agency_id = pov.vendor_id(+) AND ppf.party_id = ircreferralinfoeo.object_id(+) AND SYSDATE BETWEEN ircreferralinfoeo.start_date(+) AND ircreferralinfoeo.end_date(+) ORDER BY score (1) DESC

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1658

  • via Unknown by user609291,
  • via Unknown by 2973180,
  • Stack trace

    • oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT score (1) AS score, doc.document_id, doc.file_name, doc.last_update_date, ppf.email_address, addr.derived_locale, addr.address_id, ppf.full_name, inp.notification_preference_id, ppf.person_id, ppf.effective_start_date, ppf.effective_end_date, ROWNUM AS rownumber, pov.vendor_id, pov.vendor_name, inp.creation_date, NULL AS selectflag, (SELECT meaning FROM hr_lookups WHERE lookup_code = ircreferralinfoeo.source_type AND lookup_type = 'REC_TYPE') AS sourcetype, DECODE (ircreferralinfoeo.source_type, 'ER', (SELECT full_name FROM per_all_people_f ppf3 WHERE ppf3.person_id = ircreferralinfoeo.source_person_id AND SYSDATE BETWEEN ppf3.effective_start_date AND ppf3.effective_end_date), ircreferralinfoeo.source_name ) AS sourcename FROM irc_notification_preferences inp, irc_documents doc, per_addresses addr, per_all_people_f ppf, po_vendors pov, irc_referral_info ircreferralinfoeo WHERE trunc(sysdate) BETWEEN ppf.effective_start_date AND ppf.effective_end_date AND doc.person_id = inp.person_id AND inp.person_id = addr.person_id(+) AND NVL (inp.address_id, DECODE (addr.address_type(+), 'REC', addr.address_id(+), -1)) = addr.address_id(+) AND trunc(sysdate) BETWEEN addr.date_from(+) AND NVL (addr.date_to(+), sysdate) AND doc.person_id = ppf.person_id AND doc.TYPE IN ('RESUME', 'AUTO_RESUME') AND doc.end_date IS NULL AND EXISTS (SELECT NULL FROM per_people_f ppfs WHERE ppfs.person_id = doc.person_id) AND contains (doc.character_doc,:1,1) >0 AND ( (inp.agency_id = fnd_profile.VALUE ('IRC_AGENCY_NAME')) OR ( fnd_profile.VALUE ('IRC_AGENCY_NAME') IS NULL AND inp.allow_access = 'Y' ) ) AND inp.agency_id = pov.vendor_id(+) AND ppf.party_id = ircreferralinfoeo.object_id(+) AND SYSDATE BETWEEN ircreferralinfoeo.start_date(+) AND ircreferralinfoeo.end_date(+) ORDER BY score (1) DESC at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    14 more bugmates