EBS Customizations (MOSC)

MOSC Banner

AME SQL not working from sql developer

edited May 20, 2015 1:04PM in EBS Customizations (MOSC) 2 commentsAnswered

select CASE WHEN ame_engine.getHeaderAttValue2('SUPERVISORY_NON_DEFAULT_STARTING_POINT_PERSON_ID') IS NULL

THEN (SELECT XXBG_AME_PO_APPROVAL_PKG.p_get_approver(PREPARER_ID, 11711954)

from po_requisition_headers_all

where REQUISITION_HEADER_ID = po_ame_setup_pvt.get_new_req_header_id(11711954) )

ELSE (SELECT XXBG_AME_PO_APPROVAL_PKG.p_get_approver(ame_engine.getHeaderAttValue2('SUPERVISORY_NON_DEFAULT_STARTING_POINT_PERSON_ID'), 11711954)

from po_requisition_headers_all where REQUISITION_HEADER_ID = po_ame_setup_pvt.get_new_req_header_id(11711954)) END person_id FROM dual

the above statement giving error from developer. Any reason? I checked through AME test and the attribute has value. then also from developer is throwing error.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center