Global Application contexts - where to set the identifier of the customer?

Hello



I try to use contexts of global application in the context of an implementation of fine-grained access control.
It is an e-Business Suite environment, more precisely of CRM, is a multilevel environment.
Users access the two screens and OA framework based forms.

I think I need to use the global application contexts because users can have multiple database sessions.
In addition, all users login using the same database connection account.

As much I can define a unique identifier for a user who persists throughout all their sessions I do use set_context settings, username and client_id below: -.


DBMS_SESSION.set_Context (namespace = > 'XXUOM_CONTEXTS',)
attribute = > "EXEMPT_FROM_VPD_POLICIES"
VALUE = > l_exempt,
username = > USER,
client_id = > pi_user_id);


The problem I have is to find a suitable place to set the client identifier.

I don't know if the value is to be eliminated by another code or if the value is not used in all sessions.


I use: -.


DBMS_SESSION. Set_Identifier (pi_user_id)


The tables that I call after insert triggers either icx_sessions or fnd_logins.


However, the identifier of the customer is always null when I question him within the application, through: -.


SELECT SYS_CONTEXT ('USERENV', 'CLIENT_IDENTIFIER') of double


If I put the value via a rule of customizing a form, the value remains.




I would be very happy if someone can advise me on where I'm wrong.




Andy

Thanks a lot for the pointers. Add DBMS_SESSION. SET_IDENTIFIER (FND_GLOBAL. User_name) does the work.

Good.

I want to say that this is the solution to my problem, but I am hesitant on the change in package FND_GLOBAL that there is no guarantee that it will not be overwritten by Oracle as part of a future patch/upgrade.

It is not supported and it will be overwritten for sure.

The patch proposed in [ID 1130254.1] is no longer exists.

Log an SR to get this fix (or a replacement).

Thank you
Hussein

Tags: Oracle Applications

Similar Questions

  • How to set the customer information in OBIEE

    Hi all
    IM to access the Oracle Applications table OBIEE by database. How can I set the customer info so that I can see the data.

    Thank you

    Hello

    You can run a script at the opening. Check the 'sign in' Scripts - tab on your connection pool. Her you can set a "Execute on Connect" - script.

    This way you can set your view en client_info table data Oracle eBS.

    Good luck

    Daan Bakboord

  • Hello world! I try to print my indesign booklet in pdf format, however, is greyed out in the SETTINGS of the PRINTER to set the CUSTOM PAGES.

    Hi everyone! I try to print my indesign booklet in pdf format, however, I have the option to in the SETTINGS of the PRINTER to set the CUSTOM PAGES is grayed out. I already tried to use the Acrobat 9 PPD here: https://forums.adobe.com/message/5819369#5819369, but still it does not work. I chose the PostScript file and in the next menu, the new preset, I downloaded does not work. When I export to PDF, all my bleed, colour, cultures etc information is lost. What could I do it wrong? Help, please. I use Windows 10, Indesign CC.

    As mentioned, you don't do this correctly.

    (1) you ask your printer if it has specific requirements for a PDF file.

    (2) If you do not have this, choose export using Adobe PDF export.

    3) select from the list of presets, PDF/X-1a

    (4) in the subsequent dialog box tick Pages (not Spreads)

    (5) under the tab printers and bleeds, select Use background settings lost document.

    Pass the PDF file to the printer, as Bob mentioned that printers will make the taxation.

  • Where is: "use the custom settings for history".

    My Firefox 50 in options/privacy shows that "Remember history" (attached) and not "use the custom settings for history" that I used to see in previous versions. Searching the internet in Firefox 50 shows no results. I'm looking to see what cookie settings I have on a particular site. Could you please help?

    Change the title of terrace in the place where is: "use the custom settings for history".

    "Do not know Fred, but of course, I fell on this one!

  • [ADF, JDev12.1.3] How/where to set the session timeout

    Hallo,

    After a few minutes of inactivity, the browser displays a message to inform that the session is not more active and only OK been must be clicked to refresh the page.

    If a dialog box "btf" has been opened on the left, it becomes...

    I would like to know what is the right place/method to set a deadline.

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    The application of ADF Essentials and is deployed to the GlassFish application server.

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    For example, the user is modifying an af:table but it has not clicked validate or cancel...

    Thank you

    Federico

    I would like to know what is the right place/method to set a deadline.

    For java web applications, you can set the session timeout in the web.xml file. (this is the global settings associated with all sessions)

    If you wish, you can set the timeout of session by program (and this is related only to the current http session).

    If possible I would like that when the timeout checks, the application performs a redirect to a page I like (for example the login page).

    http://fortunefusionminds.blogspot.com/2014/04/how-to-redirect-to-custom-page-whenever.html

    ADF: Session expires management redirect to login page | Bungbutan

    ADF developers World: Detection and handling of user session expiry

    My concern is... what should happen to the open operation / pending when the time-out occurs?

    Well, session is destroyed, it will destroy all instances of AM and do rollback.

    See also: Andrejus Baranovskis Blog: ADF BC Application Module Instance Timeout and reliance Timeout of Session Web

    Dario

  • I just had a new hard drive installed (with XP), and no matter where I set the resolution, everything seems to be stretched horizontally

    I just had a new hard drive installed with XP, and no matter what I set the resolution to, everything now looks stretched horizontally.  I don't have this problem with the old hard drive containing XP

    If you did a clean installation of XP, then you must install the hardware drivers for your components. Go to the website of the manufacturer of your PC, then download and install the latest Windows XP drivers for your model.

    SC Tom

  • How to set the custom changes in sets of customized tools when installing deployed on Adobe Acrobat Pro XI?

    I am trying to set settings in the custom tool sets, specifically properties Protection\Redaction - example: enabling change highlight color and text overlay.  Is it possible to change the settings for a deployment?  I am unable to find a way through the Customization Wizard and finds it difficult to find documentation on the deployment of the custom settings for the toolsets.

    Question:

    Customization of the tool sets as part of the deployment of Adobe Acrobat Pro XI

    Environment:

    For deployment, I use the Adobe Customization Wizard and SCCM 2012 to distribute and install Adobe Acrobat Pro XI.

    Environment has Windows 7 and Windows 8.1

    Adobe Acrobat Pro XI

    Thank you

    Mike

    Those who would be the HKCU settings that you "should" be able to implement via the function Panel for the registry of the Adobe XI of the Customization Wizard.

    Look here:

    HKCU\Software\Adobe\Adobe Acrobat\11.0\Annots\cAnnots\cRedact\coutlineColor

    There are names with the prefix "d" alpha as in d1, d2 and d3 with assigned numerical values

    and

    HKCU\Software\Adobe\Adobe Acrobat\11.0\Annots\cAnnots\cRedact\cannotFillColor

    There are names with the prefix "d" alpha as in d1, d2 and d3 with assigned numerical values

  • Where will set the bookmark icloud for Firefox extension?

    After you submit the same question to Mozilla today they came back with the answer that the add-on has been deleted due to problems of instability. I don't want to use IE so really need for this problem to be investigated and fixed so I can download the extension to synchronize my favorites on my iPhone and iPad.  Could someone let me know if or when it will be reviewed and corrected, please?

    Thank you very much

    Sue Smith

    (1) there is a user forum. Nobody here knows what did Mozilla. (2) it comes to Mozilla. You will need to take with them.

  • Where will set the 3013455 for Vista security update?

    As he says to https://support.microsoft.com/kb/3013455:

    "After you install security update 3013455, you may notice a degradation in quality of text in some scenarios. The problem occurs only on systems running Windows Vista SP2 or Windows Server 2003 SP2. Microsoft is researching this problem and will post more information in this article when the information becomes available. »

    It made my unusable Vista SP2 and I was forced to remove 3013455.  Many have this problem.  When Microsoft fix this update, or leave the other four questions in a separate update?

    [revised & added below]

  • where to set the $baseurl variable in IOM?

    Hi all

    I use the notification template on the user of IOM and the administration-> advanced-> system console...

    and there is a model that uses the $baseUrl variable. Everything of fine until you want to send the notification, because when the notification is sent, the baseurl contains an incorrect host name, I mean:

    I want the $baseurl to be "oim.mycompany.com", but it looks like "idm.mycompany.com" and its a mistake because if the user wants access to the IOM, he couldn t access.

    Is there a place to configure this $baseurl variable? (IOM in the database or WebLogic, I was tried but not found success.)

    Thank you!

    Check the value of OimFrontEndURL in the browser of MBean for IOM of EM system.

    Ref: http://docs.oracle.com/cd/E14571_01/doc.1111/e14308/handlinglcm.htm#CIACIHHI

    -Marie

  • Where are located the customer logs ReadyCLOUD?

    Hello

    I have errors on the client ReadyCLOUD and I would like to view the logs, however I can't seem to find where they are.

    It is the PC version of client ReadyCLOUD.

    Anyone know?

    Thank you

    I found them, they are subject to:

    c:\Users\\AppData\Local\ReadyCLOUD

  • AMQP cannot set the custom property, reason: null

    While trying to run the workflow 'Configure vCLoud Director AMQP subscription', I reciweve the error ' Unable to set custom property, reason: null, ' when the workflow hits the script block "Set Custom Prop. My VCO logs display the following text:

    ConvertToResult() WARN [SDKFinder]-> Finder 'AMQP:Subscription': unexpected error ' ch.dunes.model.sdk.SDKFinderException: convertToResult()-> Finder 'AMQP:Subscription' cannot call the expression "getId()' object Finder ' subscription [subscriptionInfo = null, factory class = com.vmware.o11n.plugin.amqp.AmqpPluginFactory @1345820279369;] [Fri Aug 24 08:57:59 MDT 2012]', reason ' MethodFailedException: 'getId' method is not intended Subscription [subscriptionInfo = null, factory class = com.vmware.o11n.plugin.amqp.AmqpPluginFactory @1345820279369;] [Fri Aug 24 08:57:59 MDT 2012] "
    ch.dunes.model.sdk.SDKFinderException: convertToResult()-> Finder 'AMQP:Subscription' cannot call the expression "getId()' object Finder ' subscription [subscriptionInfo = null, factory class = com.vmware.o11n.plugin.amqp.AmqpPluginFactory @1345820279369;] [Fri Aug 24 08:57:59 MDT 2012]', reason ' MethodFailedException: 'getId' method is not intended Subscription [subscriptionInfo = null, factory class = com.vmware.o11n.plugin.amqp.AmqpPluginFactory @1345820279369;] "[Fri Aug 24 08:57:59 MDT 2012].

    and

    ERROR [CustomProperty #ejbSelectGeneric] could not be found

    java.sql.SQLException: Argument data type text is invalid for argument 1 of the lower function.

    If anyone has seen this before?

    Ah, found it: http://kb.vmware.com/kb/2020218

  • How to set the custom fields in the form submission email?

    Here's what I mean...

    Here is a screenshot of the form online for my client. Most of these fields are "custom".

    Screen Shot 2015-02-27 at 9.41.50 AM.png

    Here's an email from test of what the email looks like when it come in.

    Screen Shot 2015-02-27 at 9.41.25 AM.png

    As you can see all my custom fields list as just that, custom.

    When a patient fills this out it is difficult to say what it applies to that.

    How do I change these fields that say "customized" to say what really is the field?

    Hello

    It appears that you have disabled the 'label' for each custom field.

    Please select the field and go voluntarily, as shown in the screenshot.

    Please check the 'label' > shoe, this will be you the label to the form field as "Custom", rename it according to your requirement and disable the label again.

    Re-upload the site and you should be all set.

    Concerning

    Vivek

  • Where is saved the custom brushes?

    I have just formatted my HD but created a backup beforehand. Foolishly, I did not export my custom brushes. Where will they be in my backup?

    see you soon

    It depends on what OS you

    XP: c:\Documents and Settings\ [user] \Application Data\Adobe\Adobe Photoshop CS4\Presets\Brushes\

    Vista c:\Users\[user]\AppData\Roaming\Adobe\Adobe Photoshop CS4\Presets\Brushes\

  • Possible to set the availability of applications in a runtime environment only?

    Hello
    I use apex 4.1.1.00.23.
    I wonder if it is possible to 'freeze' a production application APEX in an installation of runtime only, during an upgrade. I want to prevent strange behavior for logged in users. In the application builder, you can set the availability of the application. I thought antinutritionnel the application during the upgrade. Is this possible in a single TERM env? How? Or (better) alternatives?
    Thanks in advance.
    JB

    Hello

    Try this statement:

    begin
       wwv_flow_api.set_security_group_id(apex_util.find_security_group_id(''));
       wwv_flow_api.set_flow_status(, 'UNAVAILABLE');
    end;
    

    Kind regards
    Erik-jan

Maybe you are looking for