Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2003-11-04
6
Medium Priority
?
1,448 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
  • 3
5 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to recover a database from a user managed backup
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.
Suggested Courses

876 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