|
|
Index: Date Index | Thread Index
[Date Prev] | [Date Next] | [Thread Prev] | [Thread Next] [OAUGNetDBA]-Re: Getting org id using FND_GLOBAL
Thanks David. I should be good then. The code will end up being run as a concurrent program, and the initialize will already have been run as the user running the request logs in. -----Original Message----- From: OAUG Net DBA listserver [mailto:OAUGNetDBA@oaug.com] On Behalf Of David Cholaghian Sent: Tuesday, August 05, 2008 8:11 AM To: OAUG Net DBA listserver Subject: [OAUGNetDBA]-Re: Getting org id using FND_GLOBAL Use fnd_global.initialize to set global values. Just setting the user_id will provide number of global values including org_id. "Robin Walker" <robinwalker@emai l.com> To Sent by: "OAUG "OAUG Net DBA listserver" Net DBA <OAUGNetDBA@oaug.com> listserver" cc <OAUGNetDBA@oaug. com> Subject [OAUGNetDBA]-Getting org id using FND_GLOBAL 08/04/2008 08:12 PM Please respond to "OAUG Net DBA listserver" <OAUGNetDBA@oaug. com> Hi All, This is a really simple (read: dumb...) question, but I have just hit a mental block and need a kick... I have a script that is getting the org_id using l_org_id := FND_GLOBAL.org_id, but it keeps returning -1. I have even put fnd_client_info.set_org_context to a specific org, without success. What am I missing? Should I fnd_client_info.set_client_info to set the responsibility and user before trying to pull the org_id? Thanks! Robin. ############################################################# This message is sent to you because you are subscribed to the mailing list <OAUGNetDBA@oaug.com>. To unsubscribe, E-mail to: <OAUGNetDBA-off@oaug.com> To switch to the FEED mode, send any message to <OAUGNetDBA-feed@oaug.com> To switch to the DIGEST mode, E-mail to <OAUGNetDBA-digest@oaug.com> To switch to the INDEX mode, E-mail to <OAUGNetDBA-index@oaug.com> Send administrative queries to <OAUGNetDBA-request@oaug.com> ----------------------------------------- This message may contain privileged and confidential information intended solely for the addressee. Please do not read, disseminate or copy it unless you are the intended recipient. If this message has been received in error, we kindly ask that you notify the sender immediately by return email and delete all copies of the message from your system. Thank you. ############################################################# This message is sent to you because you are subscribed to the mailing list <OAUGNetDBA@oaug.com>. To unsubscribe, E-mail to: <OAUGNetDBA-off@oaug.com> To switch to the FEED mode, send any message to <OAUGNetDBA-feed@oaug.com> To switch to the DIGEST mode, E-mail to <OAUGNetDBA-digest@oaug.com> To switch to the INDEX mode, E-mail to <OAUGNetDBA-index@oaug.com> Send administrative queries to <OAUGNetDBA-request@oaug.com> ############################################################# This message is sent to you because you are subscribed to the mailing list <OAUGNetDBA@oaug.com>. To unsubscribe, E-mail to: <OAUGNetDBA-off@oaug.com> To switch to the FEED mode, send any message to <OAUGNetDBA-feed@oaug.com> To switch to the DIGEST mode, E-mail to <OAUGNetDBA-digest@oaug.com> To switch to the INDEX mode, E-mail to <OAUGNetDBA-index@oaug.com> Send administrative queries to <OAUGNetDBA-request@oaug.com> Index: Date Index | Thread Index Thank you for using the OAUG Listserver Archive.
|
|