Professional Documents
Culture Documents
Internal identifiers Internal Oracle IDs rather than common values (i.e. party_id rather than
party_name)
Owned by 'apps' Unlike other objects like tables, which are owned by individual module
schemas, all of the APIs are owned by the 'apps' schema
No quite standards but fairly common
Standard Description
p_object_version_ Required by several public APIs. For example, required when updating
number parties/customers and employees.
No status Some public APIs don’t provide a status parameter, so how do you know if
parameter they were processed successfully?
No messages They write out to fnd_msg or another utility rather than have an output
parameter messages parameter
Special messages User, Responsibility, Application, Organization,
MO_Global
Error message handling
• Messages
• Number of messages controls how you retrieve them for most
APIs. As a general rule, most APIs have a p_msg_count or
x_msg_count parameter that gives you the message count
• Single message
• Generally go to output parameter p_msg_data (or x_msg_data)
• Multiple messages
• Generally written to fnd message buffer,
• Must retrieve with fnd_msg_pub.get
Public API Failures
"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Edison
www.api-wizard.com/oaug_api_paper.html