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

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?!
jpobrienpaetecAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

schwertnerCommented:
Apply application Patch #1337118 and it will solve the problem.... as Metalink says.
0
jpobrienpaetecAuthor Commented:
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
jpobrienpaetecAuthor Commented:
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
jpobrienpaetecAuthor Commented:
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
CetusMODCommented:
PAQed, with points refunded (500)

CetusMOD
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.