Solved

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

Posted on 2003-11-04
6
1,326 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
6 Comments
 
LVL 47

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now