Solved

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

Posted on 2003-11-04
6
1,405 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

623 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