When to use MO_GLOBAL. INIT and MO_GLOBAL. SET_POLICY_CONTEXT.

Hello

I want to ask
When to use MO_GLOBAL. INIT and MO_GLOBAL. SET_POLICY_CONTEXT?

And is the difference between the two.

As I ran an API to create sites accnt cust.
After the successful execution of the API, I was not able to see the data in the HZ_CUST_ACCNT_SITES Table.
so I ran MO_GLOBAL. SET_POLICY_CONTEXT, yet I could not find the data.

So I ran MO_GLOBAL. INIT, I could see the data.

Once I couldn't see the data in PO_HEADERS, then I ran MO_GLOBAL. SET_POLICY_CONTEXT, I could see the data...


What is the purpose and the differences between the two.

Thank you and best regards,
Rashmi

Maybe this 'crystal clear' :)

SQL> select count(*) from hz_cust_acct_sites_all;

  COUNT(*)
----------
        33

SQL> select count(*) from hz_cust_acct_sites;

  COUNT(*)
----------
         0

SQL> exec MO_GLOBAL.SET_POLICY_CONTEXT('S',111);

PL/SQL procedure successfully completed

SQL> select count(*) from hz_cust_acct_sites;

  COUNT(*)
----------
        23

SQL> select count(*) from hz_cust_acct_sites_all;

  COUNT(*)
----------
        33

SQL> exec  mo_global.init('AR');

PL/SQL procedure successfully completed

SQL> select count(*) from hz_cust_acct_sites;

  COUNT(*)
----------
        33

SQL> 

Published by: Alexandr on November 7, 2011 05:25

Tags: Database

Similar Questions

  • Cursor turns in a circle when you use the pen and Wacom Tablet?

    When you use the stylus and Tablet Wacom the cursor becomes a circle inscribed in a circle and use.

    What type of Wacom tablet work?  I have a Cintiq, and according to that tool I use, I tend to change the pointer in what ever I need.

    But if you use an Intuos I can ask someone at Wacom Europe, since I work closely with them on the Wacom InfoChannel.

    Let me know.

  • When you use a tint and Saturation layer

    When you use a tint and Saturation layer I select the color picker and click on image, then the tint and disappears from the Panel properties of Saturation. I tried assorts and I can't get this to work. What I am / I've done wrong. I use Photoshop CC. Thank you.

    Hi Gary,.

    > I select the color picker >

    I think, perhaps, you mean that you select the eyedropper or Panel in the Hue/Saturation again to targeted adjustment tool (the hand with the double-arrow)? Then you click on the image and the Panel closes?

    I suspect that your panel hue/Sat is an icon in a bunch of icons. Look in the preferences under the workspace and see if there is a check mark next to the panels Auto-effondrement emblematic. If this is the case, clear the check box.

    Then you notice that the Panel will remain open while you are using the image to adjust the settings in your dialog hue/Sat box (or any single panel in a bunch of icon that is open), but he will remain as open, potentially on your way, when you go somewhere else unless you open another Panel in the same strip of icons. You will therefore need to develop the habit of clicking on a name of the Commission or the double arrow to the right to close the keyboard manually.

    I hope this helps solve your problem.

  • Using Acrobat XI with IE11 and Win7; I can't the acrobat toolbar. Watch modules Manager he's here and activated, but the toolbar is not there. And when I use right click and click on convert to Adobe pdf format, nothing happens.

    Using Acrobat XI with IE11 and Win7; I can't the acrobat toolbar. Watch modules Manager he's here and activated, but the toolbar is not there. And when I use right click and click on convert to Adobe pdf format, nothing happens.

    Can anyone help?

    Hi Richard,

    1. start Internet Explorer.

    2. Select Tools > Internet Options, and then click the Advanced tab.

    3. check if "enable third-party browser extensions (requires restart)" and click OK.

    4. close all Internet Explorer Windows.

    5 restart Internet Explorer.

    Let us know how it goes.

    You can also check out the following link and see.

    Quick fix | See a PDF on the Web

    Concerning

    Sukrit diallo

  • Firefox does not open with the tabs I had open when I use the renunciation and backup function. Firefox opens on my home page only. How to fix?

    When I use the function "Save and exit" has no effect. The next time I open Firefox it goes to my home page only.

    This has happened

    Each time Firefox opened

    Is 3 days ago

    If you use delete navigation, search and download history on Firefox in Firefox 3.5/6, or clear private data in Firefox 3 to clear the browsing history when Firefox is closed then in restaurant tabs at the last session (for example "save and exit" or "show my windows and tabs from last time ') does not work.

  • error on execution of fpclose.vi when you use FP-1000 and two FP-TC-120 module

    I have an error that occur in my LabVIEW program by closing connections Point field.

    I use LV8.5 and im to connect to a FP-1000 (native RS-232 port) controller that connects to two modules FP-TC-120, under XP.

    The error I get is "error 33589' caused by 'FPClose.vi', is actually the second"FPClose.vi"that produced the error, as shown in the picture by the giant arrow. Strangely, there does appear to be an effect of the program and it runs and disconnects as should be, its mostly just bugging me.

    I can't find this error listed anywhere, I can't find a nice long list of errors.

    I have an insidious sense that when I close the FP read labels with the FPClose.VI I am actually closing connection to the PS module and therefore do not close the system as intended.

    I would be grateful is someone would instruct me as to the cause of the error, and what I should do to properly close the FP module.

    Well, I managed to get to the bottom of the problem, it was not caused by FPClose!

    Errors where of course be cascaded through FPClose and then the 'error' said that the source was the second "FP Close.vi" he did the second "PS Read.vi". The fact that the IAK was in a loop was not the cause of my problem, but it's a clear sign of poor programming!

    Error reading FieldPoint 33589 actually is that some channels are determined to be OpenLoop. In my case I had all the channels of the first bank connected to the K-Type thermocouples, but only 2 channels of the second Bank connection and so the error were raised in the second "read FP' and cascading to the second"FP close. " To consider an error is actually a misnomer because it is actually a warning and has no influence on the conduct of the program.

    I think that the original example I posted was written for LV 6.1 and FP 3.x. I updated my own example to update methods used in LV 2011 and FP 6.0.9, they run a lot smoother than the previous method. I hope this might help someone else in the future.

  • Photosmart 6510: By default, Photosmart 6510 printer Photo paper tray when you use e printing and airprint

    How can I get the default tray for main tray in electronic printing and air instead of photo tray? Everything is set to main tray by using the Printer Wizard. No problem when you print a document directly from the computer.

    Thanks in advance

    The HP ePrint app is available on the Apple Store. When you open the app and are looking for a document to print, you should see a few options to select the paper settings and other options before you click Print to print the document.

  • When you use a left and right axis, how to choose what issed axis for the value of y GetGraphCursor?

    I use a graph with a left and right axis (2 data sets).  I try to use a slider to select a point in time (x) and the values of y in the two sets of data.  I can't understand how the control, the value that is returned for the value is when you use the GetGraphCursor call.

    GetGraphCursor (panelHandle, PANEL_GRAPH, yourCursorNumber, & x & y)

    Using SetCursorAttribute with the attribute ATTR_CURSOR_YAXIS must be what you are looking for. The online help for this attribute explains wery well:

    Description: Used to change the y-axis which is associated with the bar graph.
    When a graphics cursor is created, the Y axis with which it is associated is determined by the value of ATTR_ACTIVE_YAXIS.  Subsequently, the association can be changed using ATTR_CURSOR_YAXIS.
    The y-axis associate serves as reference for the coordinates of the cursor position in calls to SetGraphCursor and GetGraphCursor.

  • RIO crashes when you use tcp communication and web server

    Hello

    my controller cRIO crashes after a short time (usually less than a minute), when I use simultaneously to the web server (to interact with a remote control) and make some tcp communication (using STM 2.0 library) for data logging. Is it a problem of overall performance of the controller, or a problem of band network bandwidth (I'm happy to send some values every 100ms), or a programming problem; in the latter case, what should I do to make the system more stable?

    Kind regards

    PS: I use a cRIO 9022 with LV 2009f2 + RT and NOR-RIO 3.3.0

    Hello

    You can try with a simple while loop + delay instead of loop timed for TCP communication loop.

    Concerning

  • I get a window saying that a problem caused the program to stop working when I use my incredimail and also my tree maker genealogy program how fix this?

    I'll have my tree maker genealogy program open and all of a sudden, I get the message "a problem caused blocking the program works correctly. Windows will close the program and notify if a solution available. "This also happens when I use incredimail.  Whenever I click on a new email message sometimes.  I used incredimail and family tree maker on this vista for many years and this just started happening the past two weeks.  Thank you

    Hello

    1. don't you make changes to the computer before this problem?

    2. what security software is installed?

    3. what browser you use to access incredimail?

    4. have you updated to Service Pack 2 installed?

    Let us try these methods.

    Method 1.

    Start the computer in safe mode and check the status.

    Start your computer in safe mode: http://windows.microsoft.com/en-SG/windows-vista/Start-your-computer-in-safe-mode

    Method 2.

    Run a full scan of the computer with the Microsoft Safety Scanner to make sure that the computer is virus-free.

    Microsoft safety scanner: http://www.microsoft.com/security/scanner/en-us/default.aspx

    Warning of Security Scanner: there could be a loss of data while performing an analysis using the Microsoft safety scanner to eliminate viruses as appropriate.

    Method 3.

    You can use the restore points for Windows Vista to return to a previous state, when your computer was working properly.

    What is system restore? : http://windows.microsoft.com/en-PH/windows-vista/What-is-System-Restore

    System Restore takes a "snapshot" critical system files and some program files and registry settings, and then it stores this information as restore points. If your computer is not working properly, you can use these points to return Windows XP to a previous state when your computer was working properly restore.

    Method 4.

    If you use Internet Explorer to access with incredimail, you can reset Internet Explorer default settings and check if it helps.

    Reset Internet Explorer 7 settings: http://windows.microsoft.com/en-in/windows-vista/reset-internet-explorer-7-settings

    Warning: him reset Internet Explorer settings feature might reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    Additional information.

    If the question is limited to the Incredimail application, you can post this question in the Incredimail Forums: http://forums.incredimail.com/

    Method 5.

    You can also post this question in the support of Family Tree Maker: http://ftm.custhelp.com/app/ask

    http://www.familytreemaker.com/support

    If you need help on this particular issue or any other related Windows issue, let know us and we will be happy to help you.

  • When to use pools wwnn and wwpn

    I have deployed some UCS installed and used static wwpn and wwnn. The problem I see with the help of wwnn and wwpnn pools, it's that if you mask you LUN to a wwpn host and service profile are removed it is the potential of the host to get a new wwpn or another host, getting that wwpn from the pool. This would cause some real issues. Same goes with wwnn with zoning that could change the wwnn is a service profile is deleted and re associated or pulled oto another host.  Looking for a cause for the use of real world where a pool wwnn and wwpn is logical.

    You are quite correct.  Pools/UUID of MAC are also statically assigned to the life of a Service profile.  They only returned if/when the SP is removed.

    The best use case for the pools is the tag/allocate your identification of resources accordingly.  In my lab, I have a certain reserve of MAC for everyone in my team.
    The first 3 bytes of any MAC will always be Cisco Yes (Vendor ID) and the last three I use to distinguish the system UCS, each MAC address to which it belongs.

    Ex

    Rob-MAC-pool.

    0025.B571.0001 - 0025.b571. FFFF

    Legend

    (Cannot be changed) Cisco vendor ID

    ID of the user (in my team of 15 people)

    The UCS system ID (we have several systems)

    Incremental value

    Similarly, you can use this to distinguish the operating system (WIn/Lin/VMW) and what systems are MACs belong to.  I find it particularly useful when tracing traffic from my network or tracking servers send high traffic.  Anyone in my heart if I see a MAC address I can immediately identify the source, OS, or it belongs to the user

    Kind regards

    Robert

  • RunTimeException when you use the timer and TimerTask.

    In the switchNext() method, it changes an image and some text in a Vertical management. When I run the application, I get a RunTimeException. However, when I have not used the timer and tested the method switchNext() with just a button method worked perfectly. How can I make it work with timer or another class that he will call every 30 seconds?

     time = new Timer();
    TimerTask task = new TimerTask()
    {
    
    public void run()
    {
    
        switchNext();
    }
    };
    time.schedule(task, 10000);
    

    It would be useful to know what Exception you actually get.

    However, I think that it is indeed related to the fact IllegalStateException the TimerTask is running in the "bottom", and you try to update your User Interface.

    If you change the code as follows, it will work the method on the event Thread and so he has access to update the user interface.

    public void run()
    {
    UiApplication.getUiApplicat () .invokeLater (new Runnable()

    public void run() {}
    switchNext();

    }});
    }

    You can find more information on the event thread here:

    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

  • PC crashes when you use Windows 7 and ipod synchronization

    My PC gives me a blue screen of death and crashes when I try to sync my iPod 160 GB. I use Windows 7 and iTunes 9. All my drivers are up to date, as well as my windows.

    I'm pulling what little hair I have left. Help.

    Hello
     
    You need execute the instructions below to refine the question.
     
    How do you try to sync music to the device?
    Tell us the message you get when you try to synchronize?
     
    As you've updated the latest drivers on your comoputer, I recommend you to try this issue with a clean boot to see if we can identify a program or driver causing the problem you are having troubleshooting.
     
    A clean boot to start Windows with some programs and drivers off or on selection. By doing this through trials and errors we can hopefully identify a specific cause of this problem. Here's how to solve problems with a clean boot:

    Clean clean boot.
     
    1. click on start, type msconfig in the search box and press ENTER.
    The user account control permission.
    If you are prompted for an administrator password or confirmation, type
    password, or click on continue.
    2. in the general tab, click Selective startup.
    3. under Selective startup, clear the check box load starting points.
    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.
    5. click on OK.
    6. When you are prompted, click on restart.
    7. after the computer starts, check if the problem is resolved.
     
    If the problem is resolved, make sure what third-party program is at the origin of the problem, referring to the link given below:
     
    http://support.Microsoft.com/kb/929135
     
    Reset the computer to start as usual.
     
    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    Click Start, type msconfig.exe in the start search box and press ENTER.
     
    If you are prompted for an administrator password or for confirmation, type your password, or click on continue. On the general tab, click the Normal startup option, and then click OK.
     
    When you are prompted to restart the computer, click on restart.
    Thank you, and in what concerns:
    I. Suuresh Kumar-Microsoft Support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When to use the interface and what Abstract Class?

    In a recent interview, was asked "when to use interface and what Abstract Class? Explain with an example.


    Situations in which a class should also end (example in real time)

    Have you tried to read this ? It is quite clear

    D.

  • When to use WebADI Oracle and Oracle HRMS API?

    Hello

    I'm a little confused?

    When to use Oracle WebADI?
    When to use DataPump?
    When to use the Oracle API?

    What is the difference between WebADI and in terms of functionality of the API?

    Thank you

    For example, "migrate data from employee work.

    Indeed a technical expert may use WebADI is not quite black and white - just a guideline I recommend. Here are the reasons why I recommend the direct use of APIs more WebADI:

    (1) WebADI does not have any competition. If you are a considerable migration and want to ensure multiple-CPU server, I would use a simultaneous multithreaded program to load data from the staging tables employee in HRMS Oracle by the PL/SQL API. A strong migration may take 72 consecutive hours to load - multi-threading, which would significantly reduce.
    (2) WebADI is fickle and unreliable when you speak many lines. So often the bomb out and you will have to start the loading process. An Automated charger is reliable.
    (3) WebADI has no decent error handling. If a line fails the lot fails. An Automated charger can handle elegantly errors (and there will be errors) without affecting the overall load.
    (4) WebADI is manually intensive. Of course, it does a great job to make life easier. But you must still download unprotect, insert rows, lose its time to copy and paste, upload etc. You are dependent on people doing this at the right time and she of all right. If you load in multiple environments (and you're usually), it's a heaviness. Automated loading is fully automated, reliable, can be planned and can be repeated.
    (5) other reasons. For example, WebADI does not support CLOB, BLOB large amounts of text and all kinds of other things.

    I might consider using WebADI to migrate data from employee work if it was a small client with only a few hundred employees and migration data was not the critical moment.

Maybe you are looking for