What if value of discriminator column changes?

Let's say we have a base entity object and two subclasses of the impl. One column is defined as discriminator column. "M" for male and "W" for female is probably not a good example. :o)
Let's take "C" for contractor and "E" for employee.
What if the value of this column changes? A contractor becomes an employee? How can I force BC4J to exchange the ContractorEntityImpl against a EmployeeEntityImpl at runtime without re-executing the VO?
I tried refreshing and setEntity but couldn't get it to work.
Thanks in advance!
Sascha

Hi,
This is the forum to discuss questions and feedback for Microsoft Excel, since you need a macro, thus, I'll move your question to the MSDN forum for Excel
http://social.msdn.microsoft.com/Forums/en-US/home?forum=exceldev&filter=alltypes&sort=lastpostdesc
The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.

Similar Messages

  • Who Column - What is best way to put value in who columns

    Hi,
    I have a custom concurrent program that is inserting values in a custom database table. Now I have to update that table to enter *'who columns'*. I have updated table but now get confused when I need to enter values in those 'who columns'.
    Now I have two option: 1) change package body used by concurrent program to insert values of who column. 2) put trigger on the table to put who columns values on insert/update
    Now my question is that which is better and standard option in EBS and why????
    Do we have already existing 'who trigger' in EBS that I can reuse???
    Please help me to find answer.
    Thanks,
    Faried

    Hi Faried,
    It is always suggested to avoid triggers wherever possible. Its easy to implement the logic of updating who columns in the concurrent program and you will have one less thing (trigger) to maintain.
    As far as a prebuilt who trigger is concerned, there isn't anything available for a pl/sql program. If you are coding a custom form through which you want to update a who column of a table, there is a standard api (FND_STANDARD.SET_WHO), that comes from template.fmb which takes care of updating the who columns. However, for a custom concurrent program, there isnt anything like that. You will just have to add these columns in your insert/update statements.
    Thanks
    Vijay

  • What will be impacted if we change Acquisition value in closed year

    hello,
    I want to change the Net value of asset to zero for tax depreciation area for the closed year.
    I will change this by transaction type posting for acquisition value and ordinary depreciation.
    My question is:
    The year in which I need to post is already closed. What process I need to follow to post in that year and what process I need to follow to make the system in correnct situation after posting the required postings.
    Like I need to do re-do for the closed period, ect.
    Second question: what will be the impact If the do the process like redo, ect?
    Thanks in advance.
    Reagrds,

    Issue:
    For Some Assets in Tax depreciation area, Acquisition Value and Depreciation Value need to be changed to make the Net Value as zero.
    Thought of Solution
    1.     For Changing the Acquisition Value - Create 2 Transaction Type (one for Credit and one for Debit Transaction) under Transaction Type Group 12.
    2.     For Changing the Ordinary Depreciation Value - Create 2 Transaction Type (one for Credit and one for Debit Transaction) Under Transaction Type Group 60.
    3.     Assign the above created transaction type to Tax Depreciation area only.
    Here, the prerequisite is that the year in which we are posting should be open for posting.
    Note:
    I have tested this process in the open year and this is not posting to GL.
    Please reply; can I follow above process?
    Regards,

  • How to start a workflow when a value in specific column is changed?

    HI !! 
    I would like that  my workflow will run only if a value on a specific colunm will change.
    is there a way to do it without using a third colunm ?
    thank you !
    nikita.

    Hi,
    According to your post, my understanding is that you wanted to start a workflow when a value in specific column is changed.
    When you create workflow, if you check the “start the workflow automatically when an item is changed”, the workflow will be started automatically once the item is edited.
    In the other word, no matter which column we changed, the the workflow will be started automatically.
    As a workaround, we can add condition or action to make the workflow excute the next step only if the value in specific column is changed.
    There are two options to achieve it.
    Use the “Wait for Field Change in Current Item" action”. If you add the action at the first,  the workflow will excute the next step until the column is chaned to the specific value.
       2. User the “If any value equals to value” condition. If you add the condition at the first, the workflow will excute the next step if the condition is satisfied.
    Thank you for your understanding.
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • When do export to excel value of char column automatic changes in excel

    When do export data , the values of varchar2 column (of oracle) it automatic changes
    Eg.
    the value in oracle (varchar2(100) is --> 205013113452
    when do export to excel it's change to ---> 2.05013E+11
    How can I solve this problem?.
    Regards
    Akbar

    create a view with the order of colums that you want to see in excel and export to excel after selecting that view now you will get the excel columsn with format you like .

  • What does redo log buffer holds, changed value or data block?

    Hello Everyone,
    i am new to database side and have one query as i know redo log buffer contain change information , my doubt is does it store the value only or the changed data block? because if we can see data buffer cache size is more as it holds data block and redo log buffer size is less .

    The Redo Log buffer contains OpCodes that represent the SQL commands, the "address" (file,block,row) where the change is to be made and the nature of the change.
    It does NOT contain the data block.
    (the one exception is when you run a User Managed Backup with ALTER DATABASE BEGIN BACKUP or ALTER TABLESPACE BEGIN BACKUP : The first time a block is modified when in BEGIN BACKUP mode, the whole block is written to the redo stream).
    The log buffer can be and is deliberately smaller than the blocks buffer cache. Entries in the redo log buffer are quickly written to disk (at commits, when it is 1/3rd or 1MB full, every 3seconds, before DBWR writes a modified data block).
    Hemant K Chitale

  • Export different value what we display in one column of answers

    I have a column which has almost 50 concatenated values by comma. I don't want to display all values to user in report. Just I will display "Multiple" instead of all these concat values. But when user export the report. User must see all concatenated values in that column.
    How can I achieve this?

    I do have a column in Oracle database  Contributor_List.  Which has following values in pipe separated way. There may be 50 values like in below example 3, 2 and 3 values are given.
    ABMB|BVAL|AFMY|
    ABMB|BVAL|
    MZSG|JSDP|DASJ|
    On OBIEE Answers, user want to get it displayed as "MULTIPLE" keyword because there may be 50 values. So these values will display as follows.
    MULTIPLE
    MULTIPLE
    MULTIPLE
    Now when exporting to excel, user again want to download the original value like   "ABMB|BVAL|AFMY|"  in place of "MULTIPLE"
    Just wanted to know how we can achieve this?

  • Popup Key LOV, NULL and "Invalid numeric value undefined for column"

    Hello.
    I've created an item based on database column of NUMBER type and set the following properties:
    Display As = Popup Key LOV (Displays description, returns key value)
    List of values definition=select 'display_value' d, 1 r from dual
    Null display value=%
    Null return value=
    Display Null=Yes
    When I select "%" in the LOV and try to apply changes to database I get error:
    ORA-20001: Error in DML: p_rowid=1781, p_alt_rowid=N1, p_rowid2=, p_alt_rowid2=. ORA-20001: Invalid numeric value undefined for column N2
    Error Unable to process row of table TTT.
    If I set Display As = Select List, all works fine. But I need Popup Key LOV.
    Could anybody help me?
    I use Application Express 2.2.1.00.04

    Hi all,
    I did my homework and solved this issue. First I would like to thank Patrick Wolf for the invaluable help he gives out on thread Re: Null value handling in LOVs The code presented here is just a minor edit to his code, but an essential one when dealing with Popup Key LOV items.
    Here's what I did:
    1. Create an Application Process.
    Name: RemoveNulls
    Sequence: 0
    Point: On Submit: After Page Submission - Before Computations and Validations
    Process Text:
    BEGIN
        FOR rItem IN
          ( SELECT ITEM_NAME
              FROM APEX_APPLICATION_PAGE_ITEMS
             WHERE APPLICATION_ID   = TO_NUMBER(:APP_ID)
               AND PAGE_ID          IN (TO_NUMBER(:APP_PAGE_ID), 0)
               AND LOV_DISPLAY_NULL = 'Yes'
               AND LOV_DEFINITION   IS NOT NULL
               AND LOV_NULL_VALUE   IS NULL
        LOOP
            IF (V(rItem.ITEM_NAME) = '%null' || '%' OR V(rItem.ITEM_NAME) = 'undefined')
            THEN
                Apex_Util.set_session_state(rItem.ITEM_NAME, NULL);
            END IF;
        END LOOP;
    END;Error Message: #SQLERRM#Condition: None
    2. You should be able to submit a Popup Key LOV with a NULL value now.
    Once again, THANKS, Patrick! You rock! I'm seriously thinking of trying ApexLib now :)
    Georger

  • Get millisecond values from timestamp column in v$logmnr_contents

    Hello
    How do we get millisecond values from timestamp column in v$logmnr_contents.
    I tried with following query.
    select scn,To_Char(timestamp,'DD-MON-YYYY HH24:MI:SS:FF') from v$logmnr_contents WHERE OPERATION NOT IN('START') and username ='SCOTT' and sql_redo is not null and (seg_owner is null or seg_owner not in('SYS'));
    it says ORA-01821: date format not recognized. I want to find the relation of scn with timestamp. In forums i found, scn is derived from timestamp value. I dont know its correct or not.
    if i query with out FF in time format i get like
    scn timestamp
    808743 27-NOV-2007 00:12:53
    808743 27-NOV-2007 00:12:53
    808743 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    808744 27-NOV-2007 00:12:53
    if scn is derived from timestamp with milliseconds, each scn should be different right?More help please

    May be there's an easy way solving your problem, I did it like that:
    CREATE TABLE quota_test (test VARCHAR2(50))
    INSERT INTO quota_test
    VALUES ('update "SCOTT"."NEWTAB1" set a="34" and b="45"')
    SELECT test normal, REPLACE(SUBSTR(test,INSTR(test,'"',1),INSTR(test,'.',1)+2),'"','') changed
    FROM quota_test
    Result is :
    NORMAL
    update "SCOTT"."NEWTAB1" set a="34" and b="45"      
    CHANGED
    SCOTT.NEWTAB1
    If you didn't understand, I can explain what I wrote

  • Tabular form condition type value of item / column in expression 1

    Hi
    Question 1
    I was wondering if anyone can help with the necessary syntax so that I can set a Condition Type for a column in a Tabular Form.
    What I'm trying to do is show or hide a column based on the contents of another column in the same row for instance show column DETAIL or DETAIL_READ_ONLY if column READ_ONLY is set to 'Y'
    Value of item / column in expression 1 = #READ_ONLY# or READ_ONLY (alas neither works)
    Expression 2 = Y
    I can set all the DETAIL or DETAIL_READ_ONLY columns to either hide or show at the same time by
    Value of item / column in expression 1 = P100_READ_ONLY (works well but lacks granularity)
    Expression 2 = Y
    Question 2
    Are Tabular Forms such that all fuctionality has to be global, what effects one column must be the same for all
    I know that Oracle prefers that developers don't use tabular forms but they are usefull for data visability when setting up related data in the same table.
    e.g. surveys, questionnaires etc apps the web was made for
    Thanks
    Derek

    Hi Sandro
    Thanks for replying
    The problem I have is Tabular Forms
    Detail Text Detail Read Only Read only
    Event 1a Event 1b Y
    Event 2a Event 2b N
    Event 3a Event 3b Y
    What I want it to look like is
    Detail Text Detail Read Only Read only
    ___________Event 1b__________ Y
    Event 2a_____________________ N
    ___________Event 3b__________ Y
    This would mean that the Text Field containing Event 2 could be updated but the Display Only fields containing Event 1 and Event 3 cannot be changed.
    The trick is to be able to mix and match data types for the same data because Tabular Forms columns don't have a conditional read only choice.
    Sorry about the rudimentary diagram, but its the old 80 / 20 rule =>20 percent functional
    Edited by: derekf on 4/02/2013 17:50

  • Read From Measurement File... removes X Values of first column?

    During one of our tests, two instruments were switched at the terminal by accident. I need to read in the massive lvm files, remove the wrong scaling and apply the correct scaling, while switching the values in the columns and right it all to new files. Simple right?
    I wanted to use the Read from Measurement File.vi to make things easier, because the files are very large and I would like to analyze them 100 rows at a time. Some of the the files are around 1.5 Gigs in size so I need to read them in chunks.
    The read from measurement file keeps removing the first column from the data! It outputs the data as a signal (dynamic data) and I have to use the dynamic to numeric array express vi. For some reason, before I even get to that point, the first column is not in the data.
    No matter what settings I pick on the read from measurement express vi, the time column is removed from the data. I have checked/unchecked the "first row is channel names" and "first column is time channel" to no avail. The odd thing is that in the preview it shows the first column, as if it will read it properly... but it doesnt. Nothing I change in the settings can seems to make a difference in getting the first column, the x values, out of the file.
    Below you can see the first column completely removed from the data.
    This is extremely frustrating. By probing the signal out I can see the dynamic data attributes and the time column has already been removed, so I don't think that the signal to double array express vi is the problem, but I am not sure.
    I am attaching my VI and a small data file to be analyzed. You can see what I mean.
    The alternatives seem less than adequate. The read from spreadsheet file vi wants an offset of a specific number of characters not rows. The problem is that this is not constant between rows for some reason, when hidden characters are taken into account so I cant just set the number of characters in 100 rows and increment the offset in a loop... like I normally would. That means I might miss data or get a corrupted row.
    This means that I have to use the read from text file, read how ever many characters I think a row is (over estimating a bit) then search for the newline character, find out how many chars are in that set and then offset that for the next loop iteration, all while converting each string number to a double. Talk about slow.
    I have searched around and found that I am not the only one that has had this issue. This is a common thing, but no one seems to have the answer. Why can't the read from measurement file VI read all of the numbers in every row? Why cant I tell it I want a 2d array of doubles out and not a dynamic data type? It has to be something I am doing wrong.
    Attached is a zip file with my VI and two data files. The "S19_A_DSI_detensioning_c.lvm" is the one generated by my VI (_c meaning corrected). "S19_A_DSI_detensioning.lvm" is the original measurement file. I hope you will pardon my messy VI, it's a quicky.
    Any help you guys can give would be much appreciated.
    [will work for kudos]
    Attachments:
    Scaling Factor Correction.zip ‏1109 KB

    That is a great workaround. The help talked about putting a check next to "read lines" but for the life of me I couldn't find where to do that. I wonder what other VIs have mystery check options in the right mouse click menu. I mean normally options like those are inputs, I thought. I'm going to start right clicking on every VI I drop to see if there are options there I never realized.
    I would still have to use the set file position VI and specify the byte offset right? How would I know where that is? I guess each character is a byte and I would count the characters in the string retrieved and then offset by that amount on the next iteration using a shift register?
    While waiting for help, I ended up using the read from text file and using the match string to look for the new line character, and using the spreadsheet string to array vi, analyzed the files line by line. Thats just because I couldn't easily come up with a regular expression to get 100 lines. It was slow but it worked.
    However, that still really doesn't answer the question of why it is impossible to get the first column with the read from measurement file express VI. Does anyone know? Is this a known bug?
    [will work for kudos]

  • How to map single input value to Two columns of Database table using format file of Bulk Copy Process

    Hi All,
    Am using OPENROWSET to load the file data into table, here the problem is i need to map same input value to two different columns of table, As format file doesn't allow the duplicate numbers am unable to insert same value to two columns, please help me to
    find a solution for this. 
    i can use only OPENROWSET because i need to insert some default values also which come based on file. only the problem is how to map same input value to two different columns of table. please give me the suggestions.
    Thanks,
    Sudhakar

    From what you say:
       INSERT tbl(col1, col2)
          SELECT col1, col1
          FROM   OPENROWSET(....)
    But I guess it is more difficult. You need to give more details. What sort of data source do you have? What does your query look like? The target table?
    Erland Sommarskog, SQL Server MVP, [email protected]
    Hi Erland,
    Thanks for your response
    my source file is text file with | symbol separate for ex:
    1002|eTab |V101|eTablet|V100|Logic|LT-7|Laptops|SCM
    Database table have columns like
    column1,column2,column3...etc, now i need to insert same value from input file into two columns for ex:
    the eTab value from text file has to be insert into column2 and column3 of
    table
    we cannot change format file like below one
    for the above situation how can we insert eTab into column2 and column3
    Thanks,
    Sudhakar.

  • How do I lookup a value on a row, then lookup a value in a column?

    Ok, this one's a bit challenging.  I need to look up a value in a column (x) on a another table (hold that answer), then take the cell that is to the right of that value and find that value in the header row (y).  Then, report the value where the X and Y cross in the table.  For example, look at 31, find it in the colored cells on the other table (#), then look at the next cell value, which is y, then where 31 and y cross, report value of -8.

    Badunit...Hmm.  I'm now getting the error " ! "1:1" isn't a valid reference."
    Here's what I have:
    =OFFSET(Table 2 :: A1,MATCH(B2,Table 2 :: $A)-1,MATCH(C2,Table 2 :: 1:1)-1)
    to your
    =OFFSET(Table 2 :: A1,MATCH(B2,Table 2 :: $A)-1,MATCH(C2,Table 2 :: 1:1)-1)
    B2 is 31, and C2 are the x/y values.  I noticed that when I changed the name of spacialrecognition to "table 2", everything changed except the last spacialrecognition that's underlined.  This could be the error.
    When I try to tell it to look in the header row 1 on Table 2, I start to type Table 2 and the font goes green, but the moment I space to type :: 1:1, the table loses its reference or something?  Even cut and paste of the formula doesn't work?
    Thanks for all your help.

  • How to calculate the sum of the values of some columns of a table

    hi
    i want to get in the column averages just the average of the values of some columns not all the columns of the table.what i have to change exactly in this block diagram.even if the size of the table is 25,i want the division to be the number of values in each column(= number of rows)
    just like that:
    Solved!
    Go to Solution.
    Attachments:
    operations on some columns.vi ‏10 KB

    i did exactely what u told me, i think i missed something because i don't get the average value of the rows i want
    Attachments:
    average.vi ‏11 KB

  • Pro*C & SQLDA with NULL value for predicate column

    Hi: I am using a C program to update a table via a dynamic sql (method 4) and SQLDA. In the update statement predicate, I have place holders (as in TBLCOL=:C000). One of the columns in the predicate contains null values, so I set L[n] = 0, V[n] = pData (which pData[0] = '\0'), *(I[n]) = -1, and T[n] = 5 (for text). I cannot find the row that I know is there.
    I cannot change my statement to contain TBLCOL IS NULL, since I don't know ahead of time if I'm looking for rows with null values for this column. The Pro*C manual says that by setting the appropriate *(I[n]) = -1, it indicates to Oracle to simulate the "IS NULL" clause, and update the appropriate rows. In my case, I receive 1403 as SQLCODE when I use TBLCOL=:C000 vs TBLCOL IS NULL. What am I doing wrong? Thank you for your help.

    You should include these columns as well;
    ChangeType (see mxi_changetype)
    ValOwner (repository)
    UserID ("jobid=<>", usermskey, GUI (mmc), DG (dyngrp), reconcile)
    IdAudit  (This is the event task (add and del member for assignments)
    ParentAuditId (AuditID of parent which last updated the attribute, not consistent)
    ChangedBy (Holds the MSKEY of the user which last changed the attribute)
    ExpiryTime
    to make sure you get a fuller picture of the audit record.
    Your selection does not cover all events and descriptions
    br,
    Chris

Maybe you are looking for

  • Strange character in facebook in Chrome. After messing with Helevetica neue

    Hi everyone, I have this strange character in facebook in chrome. First of all, before this problem arise, I was messing around with helvetica neue font to display properly in google chrome, and also I deleted many international fonts using monolingu

  • Purchasing hierarchy

    Hello , again i have a couple of questions about purchasing position hierarchy please. one: how can i force the purchasing buyer to enter purchase orders that are above a specific amount all the time,; say that all purchase orders must be equal or mo

  • Infotype for Employee certification data

    Hi Experts, can anyone tell me the infotype which is used to store the employee certification details.

  • Can i RollBack in BusinessOne

    Hi all,     I have one doubt while using DI API. I am creating Sales Invoice using DI API. For some reasons i need to rollback the created SalesInvoice. Is it possible using DI API. If it is  a salesorder i have a option of cancelling the salesOrder.

  • NW 2004s  X64 Install issue

    Hi I have tried several times to get past this last step of the install which continues to fail. Any help would be appreciated. My J2EE server not runing. I am trying to install NW 2004s SR2 7.00 X64. And I used "j2sdk1.4.2_16-x64". And I did Increas