Solved

E-Business Suite, CRM Application API, JTF_NOTES_PUB calls fail

Posted on 2003-11-04
6
1,363 Views
Last Modified: 2012-06-27
Attempting to use the JTF_NOTES_PUB.create_note API.  Even though the documentation says that p_source_object_id is not a required field, I get an API error saying that the object_id is invalid (see below).  I am testing this on a Vision instance running at 11.5.8.

API Error: API Programming Error (JTF_NOTES_PUB.Create_note): The value "" for parameter PARAMETERPARAMETER is invalid.
API Error: API Programming Error (JTF_NOTES_PUB.Create_note): The value "9.990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E+125" for parameter Object Id is invalid.
API Error: API Programming Error (JTF_NOTES_PUB.Create_note): The value "9.990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000E+125" for parameter p_source_object_id is invalid.

I am really wanting to attach this note to an existing organization party and the documentation is cryptic at best.  I have been unable to get a definitive answer on what the p_source_object_code possible values are, so I have been attempting 'PARTY'.  I have not been entering anything into the p_jtf_note_context_tab because it is not required (so the documentation says).  I'd really love to have a reference to some good examples and/or better documentation that the Oracle CRM Application Foundation API.  Maybe they don't want anybody using the API?!
0
Comment
Question by:jpobrienpaetec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
6 Comments
 
LVL 48

Expert Comment

by:schwertner
ID: 9684801
Apply application Patch #1337118 and it will solve the problem.... as Metalink says.
0
 

Author Comment

by:jpobrienpaetec
ID: 9686497
Would you mind telling me which doc id you are referring to.  If it's 117636.1 I'm not so sure that would be valid.  That was written 2+years ago AND it refers to object code 'CC' where I'm attempting 'PARTY'.  I'll check with our DBA and see if that patch is already applied directly OR as part of the 11.5.8 family.

I personally think I'm using the API incorrectly with regard to the object codes, but unfortunately the examples/documentation I have found (including via Metalink), leaves a lot to the imagination.  Thanks...
0
 

Author Comment

by:jpobrienpaetec
ID: 9689293
I verified with our DBA that 11.5.8 has this patch in it so that Metalink DOC is outdated in our case.  Any other ideas...
0
 

Author Comment

by:jpobrienpaetec
ID: 9693712
I got this working so I guess I get my own points ;-)

I simply started experimenting and reading between the lines in the documentation.  It appears that because I'm attaching this note to a 'PARTY' it requires (actually the documentation says "must", not required) to fill in the source code and id AND the note context and id (both of these being the PARTY and its corresponding ID).  The sample in the documentation is also wrong if using FND_GLOBAL.user_id for the entered_by field (which is supposed to be the employee ID of the person entering the note) if calling the API from a stored procedure being run from TOAD or equiv from the APPS user schema.

Thanks...
0
 

Accepted Solution

by:
CetusMOD earned 0 total points
ID: 12162046
PAQed, with points refunded (500)

CetusMOD
Community Support Moderator
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question