Executing Dynamic ViewObject affects the actual Viewbject

Hi all,
Iam Using Jdeveloper version 11.1.2.0.0.
I have created the Dynamic ViewObject (eg:- dynamicVo) during runtime based on the definitions of the ViewObject(EmployeesVO) which has created during design time.
But when iam executing the Dynamic ViewObject(dynamicVo), the rows are getting displayed both in the DynamicVO as well as EmployeesVO.
I don't want the EmployeeVO get disturbed when iam executing the DynamicVO .
May i know the reason why it is happening.
reg,
bakkia.

John,
Dynamic ViewObject means viewObject which does not created during design time.Rather viewObject will created during runtime.
This is the Code on how i created Dynamic ViewObject.
String dynamicVoName = null;
ViewObject baseVO =
findViewObject("EmployeeVO");
CustomViewObjectImpl customVOImpl = (CustomViewObjectImpl )baseVO;
ViewDefImpl newViewDef = ViewDefImpl.findDefObject(baseVO.getDefFullName());
newViewDef.resolveDefObject();
newViewDef.registerDefObject();
dynamicVoName = "DynamicVO";
ViewObject internalDynamicVO =
baseAm.findViewObject(dynamicVoName);
if (internalDynamicVO != null) {
internalDynamicVO.remove();
baseAm.createViewObjectForDef(dynamicVoName, newViewDef);
ViewObject dynamicVO = baseAm.findViewObject(dynamicVoName);
dVo = (CustomViewObjectImpl )dynamicVO;
TuxedoParams tp = new TuxedoParams();
dynamicVO.ensureVariableManager().setVariableValue("APP_ID",2252460);
dynamicVO.ensureVariableManager().setVariableValue("CWIN_NUM",0);
dynamicVO.ensureVariableManager().setVariableValue("HH_ID", 0);
dynamicVO.executeQuery();
can i have the answer....
reg,
bakkia.
Edited by: Bakkia on Oct 13, 2011 11:59 PM

Similar Messages

  • How to affect the actual FPGA clock rate?

    Hallo,
    I developed a FPGA-VI, which should run with 80 MHz clock rate on the PCI 7833R board.
    This was no problem at the beginning, but meanwhile the code got bigger (Slices: 30%). Now the compiler says that there is an error with the timing constraints. The maximum clock it can reach is 74 MHz.
    Unfortunately I need the 80 Mhz to be fast enough.
    What parts of the code influence the actual clock rate?
    How can I get it faster?

    I think you missunderstood what I mean:
    The problem is not how many ticks a while loop needs for one cycle.
    The problem is the clock rate setting for the FPGA-board. It is set to 80 MHz and not the Default 40 MHz.
    When I compile my VI the compiler reports that it can't keep the 80 MHz. That means for example that a Single Cycled Timed Loop doesn't need 12.5 ns but for instance 13.4 ns.
    If I separate my code in 2 parts and compile each part as a separate project, the compiler can keep the 80 MHz. Only together it doesn't work.
    So the whole problem has something to do with the size of the project, the depth of the structures etc.
    So I need to know for example what structures slow down the clock most, or something like that.

  • Need to execute Dynamic query for the report

    I was wondering if we can have the option of choosing at runtime from the report builder parameter so that if the end-user selects 'Yes' then the report will run one specific query and if he chooses 'No' then another particular query is invoked. What I mean to say that by choosing between Yes and No at runtime one should have the option of returning query results based on the same table but having different columns selected via the SELECT statement
    means we have two querires on our report & upon the chosen parameter we should execute only one of them ... wht should i do to apply tht ???

    As the previous post noted lexicals are a terrific way to accomplish dynamic queries in Oracle reports.
    Another way you could accomplish this would be to use a UNION, whereas the first select in the UNION represents one user option, then second query represents the second option.
    For example:
    SELECT customer_name name, customer_address address
    FROM customer_table
    WHERE :p_choice = 'Customer Info'
    UNION
    SELECT employee_name name, employee_address address
    FROM employee_table
    WHERE :p_choice = 'Employee Info'If when running the report, the user chooses 'Customer Info' the first query would return results, if the user chose 'Employee Info' then just information from the second query would return information.
    So there are different ways to accomplish what you are looking for, you just need to find which is going to work best for you.
    Hope this helps!

  • Help Using Navbar Find mode with dynamic viewobjects,

    What needs to be added to my coded to make the JUNavigatorBar QBE function in the "ADF Swing: Binding dynamically created ViewObjects to ADF Swing" example posted by Frank Nimphius on March 07, 2006. My table loads from the dynamic viewobject and the Navbar moves the cursor over each row in the table but when I go into Find mode ,the table row for entering the search criteria is not editable. I must be missing something basic here, but I am at a lost for the solution.

    Ok, I found this solution to make the dynamic view objects example 'searchable' from the NavigatorBar 'Find' button.
    I had to extend and replace the JUTableBinding class when creating a TableBinding which is then set as the model for my dynamic JTable using .setModel(); The rest of the example code works without modification.
    class MyJUTableBinding extends JUTableBinding{
    public MyJUTableBinding(javax.swing.JTable control,
    JUIteratorBinding iterBinding,
    java.lang.String[] attrNames){
    super(control, iterBinding,attrNames);
    public boolean isCellEditable(int row, int col) {
    return true;
    }

  • Is there a tool available that can be executed by another process to scale the actual size of a PDF?

    Is there a tool available that can be executed by another process to scale the actual size of the printed PDF file by X%?  We are attaching PDF files to printed output using the Oracle DocuMaker product, and are running into margin issues with the attached PDF.  We need to keep a 3/4 inch margin on our pages for sorting/finishing equipment, and the attached PDFs do not all conform to our margin requirements.

    What email program are you using? And what do you mean by "Safari mail"?

  • A good solution to set the actual data record after execute query ..

    Hi,
    in my Form there is a block on a temporary table.
    The user can add query results and wishes to save the last data focus on the last actual record before the execute query to restore this focus after the query.
    Is there a robust and fast solution to save the
    actual data focus - execute_query - restore the saved focus ?
    Thanks
    Friedhold

    Here is a simple solution to try:
    Create a package specification in your form: Package P0 is
      Save_rowid  varchar2(30);
      Found_rec   number;
    End;Create a Key-Entqry trigger on your block: P0.save_rowid := :Myblock.rowid;
    P0.Found_rec := null;
    Enter_Query;Create a Post-Query trigger on the block: If :Myblock.rowid = P0.save_rowid then
      P0.found_rec := :system.trigger_record;
    End if;Create a Key-Exeqry trigger on the block: Execute_Query;
    If P0.found_rec is not null then
      Go_record(P0.found_rec;
    End if;

  • Error the actual price could not be determined while executing CKMLCP

    Hi!
    we are facing the problem while executing CMLCP, the error message is "The actual price for 10VN000012/MHR could not be determined" ( error message number CKMLLA102).
    Our scenarios is as below:
    we have 4 activity types out of which activity type "MHR" are used only for Indirect activity allocaiton tracing factor that means all service costs from service cost centres will be distributed to production cost centres in the ratio of actual quantity confirmed for MHR activity type.
    for this activity type we will not have any actual cost distribution, so there will not be any actual cost for this activity type.
    So, as actual quantity is confirmed during production process and while executing CMLCP is expecting actual price for the same ( we are executing KSII for actual activity price calculation before costing run).  is there any enhancement to avoid this error, because our client don't want to allocate cost to this activity type.
    regs,
    ramesh

    Hi Ramesh,
    Message CKMLLA102 is standard system behaviour when the actual
    price of an activity is zero because cost center accounting does not
    allow actual prices to be zero.
    Unfortunately the system can't distinguish an actual activity price
    of zero from a not yet calculated activity price, so for activities
    with actual price zero the message CKMLLA 102 is sent.
    Have you check the SAP note 361379?. It provides you some options to overcome
    the issue.
    Best regards,
    MLM

  • The actual query being executed

    hi all,
    is there a way to log the actual sql query being executed
    i saw that there is trace option for sql query
    but it is not logging anything
    can anybody help me please
    regards,
    ramakrishna

    The easiest way to do this that I've found is to determine which session is running the report. This is difficult if it is interactive as the reports runtime engine starts a session when you run it. Then just issue a sql trace with binds from another session (dbms_support package or dbms_ev)
    I'll sometimes put an entry using dbms_application_info (suggested on asktom) in a beforepform trigger so I know which session is the one with the report - in caseI have multiple logons under one account.

  • How does labview opc communication with plc affect timing for the actual plc application

    Hi Everyone, 
    I have a doubt and thus want to start a discussion regarding communication with PLC's from NI OPC server.
    Let's imagine you have a production machine like a caping machine for a bottle production line, let's say the PLC on this machine is a Siemens S7300 which according to NI is compatible with NI OPC server.
    The PLC would have already been programmed by the company who sells the machine to control it correctly.
    The question is, if you'd like to add an interface, and all the capabilities that LabVIEW offers to this machine by controlling/monitoring its PLC, returning its alarms etc...
    In that configuration is there a possibility that the LabVIEW application you would devellop affects the PLC's Behaviour and thus the machine functionality or yield and thus would have a negative impact?
    Thanks a lot for your answers.
    Best Regards,

    Hi Olivioloyer Good Morning:
    The issue here is that if you want to control, display and log data and funcionality from that PLC through LabVIEW you will have to change the program on the PLC to work correctly with your Interface and Alarming program that you will create in LabVIEW. If you develop a well designed architecture and an efficient code there will be no negative impact on yout PLC, on the contrary you will expand the funcionality and capability of your application. 
    Note: You will need to change your PLC program to achieve correct functionality with what your LabVIEW code will do.(Send and receive control commands). If you just want to monitor your PLCs behaviour, your code will be much more simple and maybe no change will be required on the PLCs program.
    Juan Arguello
    National Instruments México y Latinoamérica
    Applications Engineer

  • File name in msdb.dbo.backupset no longer matches the actual file name on the storage media. Error 3013 Restore Database is terminating abnormally.

    Thanks in advance for taking the time to read this and comment. Platform: Windows Server 2008 R2 Enterprise Edition SP1 (X64) Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation
     Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)Problem Description: The file name recorded in the msdb.dbo.backupset (sans the extension) no longer matches the actual file name written to the backup media which is
    in this case a NETAPP NAS storage share. Example:
    Mohave_backup_2014_03_14_233001_1158878.bak      (from NETAPP NAS filer)
    Mohave_backup_2014_03_16_233001_4167237             (from MSDB.dbo.backupset), as you can see, the last 7 digits (chars) of the file name are different, although the date and time are identical. The
    file names had previously been matching perfectly. The first occurance of this problem occured on 03/13/2014 at 5:00 AM MST. The error generated by the job was:
    Date  3/14/2014 10:29:23 AM
    Log  Job History (Refresh - Restore Mohave_93_DEV AD HOC)
    Step ID  1
    Server  OurDevServer
    Job Name  Refresh - Restore Mohave_93_DEV AD HOC
    Step Name  Restore Mohave_93_DEV
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  50000
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    Executed as user: OurDomain\OurNetworkServiceLogin. Restore Mohave Prod to Mohave_93_DEV - ERROR: 3013 RESTORE DATABASE is terminating abnormally. [SQLSTATE 01000] (Message 50000).  The step succeeded.

    Olaf:
    Thanks for your reply. Sorry, my bad. I inadvertently copied wrong [name] form the msdb.dbo.backupset. On 3/13 and 3/14, the two file names did not match. In trying to select another example to show you this morning, I found that the names are now matching!
    What I was doing was to create dynamic t-sql to retrieve the latest prod backup of the database, and then restore it with move to the development server. This is an ad-hoc job that the developers can run by themselves whenever they require a refresh. Unfortunately,
    we only keep 3 days worth of backups for these databases, so the original disk file I was trying to use to restore no longer exists. Researching the original error, one of the error descriptions was that the restore could not find the file requested.
    I thought this very strange since I get the file name directly from the backupset table. Further research did indeed show that the file names were different, but unfortunately, I failed to save the details of the file names. Anyway, in looking for a new example
    to show you this morning, I have found that the file names are indeed matching exactly again. If this error pops up again, I will be sure to save all details and re-post.
    Thanks, regards and best wishes to you and yours, 

  • New App Launcher Suite Bar in 365: what CSS styles affect the background color?

    There is a new suite bar in O365. What CSS styles affect the background color of the bar, app launcher button and the Office 365 text in SharePoint Online? I want to hide Office 365 text and add my logo there.

    Hi,
    Per my understanding, you might want to change the style of the suite bar and replace the “Office 365” text with your custom logo image.
    In Office 365 admin page, we can customize the theme of the suite bar for the whole :
    However, as there is no such option can replace the “Office 365” text with a custom icon there, a workaround is that we can use some custom JavaScript to modify the
    corresponding HTML source code to display the icon dynamically after the page loaded.
    After applying the code snippet below into the master page:
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ready");
    function ready() {
    var logo = document.querySelector("#O365_MainLink_Logo");
    var s = '<img style="max-height: 27px" alt="logo" src="/_layouts/15/images/siteIcon.png?rev=38">';
    logo.innerHTML = s;
    </script>
    Every time when users open a page in this site, this custom code will be executed, the “Office 365” text will be replaced by a custom icon:
    More information about how to add custom code into master page(similar in SharePoint 2013):
    http://techtrainingnotes.blogspot.com/2012/05/adding-javascript-and-css-to-sharepoint.html
    What’s more, if doing in this way, we can only replace the “Office 365” text with a custom icon in Office 365 SharePoint Online sites, not the whole Office 365, this
    is a fact that you might want to know. For about how to replace that text for the whole organization, I suggest you open another thread in Office 365 forum, you will get more help and confirmed answers there.
    http://community.office365.com/en-us/forums/default.aspx
    Best regards      
    Patrick Liang
    TechNet Community Support

  • Dynamic setting of the dimension values.

    Summary:
    How can I programmatically control the dimension values displayed in ‘Selected’ window of ‘Edit worksheet’ wizard. of Oracle BI Discoverer plus for OLAP 10.12.48
    My objective is to dynamically set the dimension values for a particular dimension based on some criteria.
    Requirement:
    1.The user should be able to select one of the pre-defined options.
    2.Based on the option selected by the user, the necessary business logics need to be applied and then resets the dimension values. The ‘Selected’ window of ‘Edit Worksheet’ should be refreshed.
    3.Based on the option the short description & long description should be changed
    Existing Application Implementation:
    We already implemented this logic in oracle express 6.3.4 as follows.
    1.Radio buttons are provided to select the display option
    2.Whenever the option is changed, a program is executed in the Express objects. This program evaluates the option, applies the necessary business logics and displays the dimension values based on the option chosen. View is then refreshed to reflect the new dimension values. Note that this process does not affect the total “available dimension” values. The total number of “available dimension” values remains the same. It just manipulates the values in the ‘Selection’ object.
    3.The formula of the short description and long description is modified. This formula checks the option and based on it changes the description
    Issues I faced to Implement this logic in Oracle BI Discoverer plus for OLAP 10.1.2.48
    1. No provision to add radio buttons, hence were trying to implement the functionality with a dimension.
    2. No options available for applying business rule and setting the desired dimension values.
    3. No ‘event’ available to refresh the views
    How can I achieve this in Oracle 10g discoverer plus for olap 10.1.2.48
    Thanks,
    Natarajan

    I think this is not possible.
    When you give this settings while creating the SMARTForm, SMARTForm will generate a FM based on that settings. And it is not possible to change those settings at runtime.
    We have some constriants like this for dynamic paradigm in SMARTForm. Like, we can provide shading or Box color for the cell.
    Regards,
    Naimesh Patel

  • Tracking the actual sale order quantity

    Hi Friends,
    How to track the actual sales order quantity given by the customer.
    Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
    How to find out the difference of 10 units as a report in standard sap system.
    Thanks
    AJ

    Dear AJ,
    This is how normal sales process works.
    You create Sales Order line item for the quantity that customer has requested. (eg: 100)
    Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
    Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
    Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
    So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
    Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
    Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
    Coming back to your issue.
    Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
    Only way you can find your original sales order quantity is in the Line Item / Change Log.
    This can be view by selecting below Menu option.
    Environment -> Changes
    If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you  can see the old value & new value. (In this example 100 & 90)
    But that is not a good practice to do as changes will show all quantity changes that you might do based on  customer request. (Imagine if you customer ask to change it later to 95 not 100).
    In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
    Hope this is helpful to you !

  • How does condition category affect the price procedure

    Hello Gurus,
         there is a case as following:
    if the condition type in the pricing analysis says in a billing document that the ‘‘condition is found and set,” and one is using the condition requirement number 024 (which only determines the price in billing document) yet still has to do new pricing in order to obtain the condition record, Should the condition category be blank, the system would propose the message “condition is found and set” but does not provide an actual condition record.
       the fault would be that the condition category on the condition type should be equal to L.
       so my question is " how does condition category affect the price procedure" ? thanks very much!

    Hi Zhang,
    -->Condition category is a classification of conditions according to predefined criteria.
    -->These categories include packaging costs, delivery costs, output taxes and discounts.
    -->The classification of conditions by condition categories can be used for analysis.
    I hope it will clear for you
    Regards,
    Murali.

  • Pages:  How can I sort one column of words and not have it affect the other columns?

    How can I sort one column of words and not have it affect the other columns?  I have opened the inspector to the edit columns and rows under Table.  It will sort the column, but then it changes the other colums as well.  I know that if I use Numbers, it will work, but I want to know how to do the same thing in Pages.

    Hi Peter,
    Numbers sorts full rows on values in selected column(s). The technique for sorting a single column is essentially the same as Jerry is describing for Pages tables—separate the (data in the) column to be sorted, sort it, return it to the table.
    In Numbers the actual column may be separated from the original table, sorted, then returned. In Pages, the data must be extracted, sorted, then pasted back in, overwriting the unsorted data (if it was left in the original table).
    iWork tables follow a database model in which each row is a Record, and each column holds a Field within the records.
    As evidenced by the current question (and several similar questions arising in the Numbers community) that model doesn't apply to the way some users, especially some who come in from the MS Excel world, use tables.
    With Excels model—islands of data on a single large table, the ability to sort one or a selected few columns of data makes sense. One 'island' may comprise only cells AA21:AH50. Sorting that small 'table' should be possible without disturbing the rest of rows 21-30, which are probably part of one or more other 'data islands' in the sea that is a MS Excel spreadsheet.
    In Numbers, each of those 'islands' would be a separate Table, and that Table would be sortable without disturbing other Tables in the document.
    Regards,
    Barry

Maybe you are looking for

  • Does new Zen player have audio/video output to telivis

    Hi there, Does anyone know if the new Zen Player had video out for television? I know the Zen vision W has, but what about the Zen player? Many thanks

  • Marketing Attribute set Authorization.

    Is there marketing attribute set Authorization, So that one set of users can see only their Attribute set..Appreciate any hellp in this regard. The CRM version is 5.0.

  • Printing Wirelessly in XP

    I can't seem to print wirelessly to my HP printer when I boot up in XP. It works with no issues on all my computers in OSX 10.6.3. I have the printer hooked up to an iMac which is hard wired to my AirPort Extreme. Does anybody have any idea if I'm mi

  • We could not complete your iTunes Store request. The host is down - NOT iphone

    Running 10.5.8 (Leopard) and keep getting this pop-up error on iTunes We could not complete your iTunes Store request. The host is down. There was an error in the iTunes Store. Please try again later. I'm running 10.5.8 Leopard on a G5 Quad Core Powe

  • Named Parameters in CallableStatement HELP!!!!!!!

    Help please. Such syntax as "select * from table1 where t1_name like ?" and "CallableStatement.setString("name","%ALICE%")" throws an java.lang.AbstractMethodError: oracle.jdbc.driver.OracleCallableStatement.setString(Ljava/lang/String;Ljava/lang/Str