CASE Formula Based on Many Objects - Does it work

I am trying to create a report that looks at the Lead Status, Activity Status and the smart call association and if all match a formula then a value is assigned.
For example when
Lead status = Archived
Activity Chosen Template = Second Call
Activity Status = Completed
Then Assign the value Correct if this value is not meet then Incorrect should be assigned.
I would have thought that this would have been very easy using the following formula
CASE WHEN Lead.Status = 'Archived' AND Activity."Chosen Template" = 'Second Call' AND Activity Status = 'Completed' THEN 'Correct' ELSE 'Incorrect' END
But this doesn't work syntax error
[nQSError: 10058] A general error has occurred. [nQSError: 27002] Near <Status>: Syntax error [nQSError: 26012] . (HY000)
SQL Issued: SELECT Activity."External ID", CASE WHEN Lead.Status = 'Archived' AND Activity."Chosen Template" = 'Second Call' AND Activity Status = 'Completed' THEN 'Correct' ELSE 'Incorrect' END, Campaign."Campaign Name", Date."Fiscal Month", Date."Fiscal Year", Date.Date, Employee."Manager Alias", IFNULL(Activity."Chosen Template",'No Smart Call Selected'), Lead."External ID", Lead.Status FROM "Activity Analysis"
Has anyone completed something similar using values on many different objects what formula did you use, Is there anyone else out there who might be able to tell me what i am doing wrong. This is only the start of the formula and there are many different options but i wanted to make sure this one worked before i entered the remaining.
Thanks
Jono

Removed Null Reporting and it looks to be working
CASE WHEN Lead.Status = 'Archived' and Activity.Status = 'Completed' and Activity."Chosen Template" = 'Second Call' THEN 'Neutral'
WHEN Lead.Status = 'Archived' and Activity.Status = 'Completed' and Activity."Chosen Template" = 'Unable to contact' THEN 'Neutral'
WHEN Lead.Status = 'Converted' and Activity.Status = 'Completed' and Activity."Chosen Template" = 'Referral generated' THEN 'Win'
WHEN Lead.Status = 'Converted' and Activity.Status = 'In Progress' and Activity."Chosen Template" = 'Referral generated' THEN 'Pending'
WHEN Lead.Status = 'Converted' and Activity.Status = 'Completed' and Activity."Chosen Template" = 'Spoke to member - Interested' THEN 'Win'
WHEN Lead.Status = 'Converted' and Activity.Status = 'Completed' and Activity."Chosen Template" = 'Forms received' THEN 'Win'
WHEN Lead.Status = 'Qualified' and Activity.Status = 'In Progress' and Activity."Chosen Template" = 'Spoke to member - Interested' THEN 'Pending'
WHEN Lead.Status = 'Qualified' and Activity.Status = 'In Progress' and Activity."Chosen Template" = 'Email sent' THEN 'Pending'
WHEN Lead.Status = 'Qualified' and Activity.Status = 'In Progress' and Activity."Chosen Template" = 'Additional Info Sent' THEN 'Pending'
WHEN Lead.Status = 'Qualified' and Activity.Status = 'In Progress' and Activity."Chosen Template" = 'Spoke to member - Call back required' THEN 'Pending'
ELSE 'Working on it' END

Similar Messages

  • Calling test sequence from CVI DLL that use ATL COM object does not work

    I am trying to call some DLL function writen in CVI from teststand. The CVI DLL is using ATL COM object(Written by me).
    The ATL COM object making instance of several ATL COM object inside it (including two controls that contains dialog). If I use a client writen in VC++ 6 and use the ATL COM (writen by me) works perfectly. But if I try to use it from CVI DLL it does not work any more.
    What is wrong? The client is passing an IUnknow interface to my component. Can anybody explain me what is wrong?

    It is not clear from your question as to what is specifically failing. If possible, one option would be to remove TestStand from the picture and see if the problem still occurs using a CVI EXE that invokes the CVI DLL.
    Scott Richardson - NI
    Scott Richardson
    National Instruments

  • Sorting based on a parameter does not work

    Hi All
    I am using BI Publisher Reports with Siebel CRM 8.1.1.6. I have declared a parameter called "inputsort" in the CRM application as well as in the template by using <?param@begin:inputsort?> within the template. I can display the current value of the parameter using <?$inputsort?> without issues.
    However, when I try using this parameter for sorting, it doesn work:
    The report is created for a list of event attendees. When I do this, sorting works:
    <?for-each:EeventsEventCheckAttendee?><?sort:ContactLastName?>
    BUT when I do this, sorting does not work:
    <?for-each:EeventsEventCheckAttendee?><?sort:$inputsort?>
    although the parameter $inputsort does have a value of "ContactLastName".
    What could be the reason??

    never mind, I found the solution myself. For some reason, the correct way is:
    <?for-each:EeventsEventCheckAttendee?><?sort:./*[name(.) = $inputsort]?>
    I don't know why, but it works.

  • SQL-Tokenizer based on regular-expressions does not work

    I'm on 10gR2
    Following SQL-Tokenizer converts string :str to rows using :delim as the delimiter-char (:str and :delim are parameters):
    select level, regexp_replace(regexp_substr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ), :in_delimiter, '') as token
    from dual
    connect by regexp_instr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ) > 0
    order by level asc ;
    When using the pipe-symbol "|" as the delimiter, it doesn't work; the rows are processed, but the tokens are null. Using an other char as delimiter (e.g. ";") works fine.
    :str = "123;456;A1;67X;0;-8" & :delim = ";" => works fine
    :str = "123|456|A1|67X|0|-8" & :delim = "|" => does not work
    I think the bug is in the regexp-parameter for the pattern, isn't it?
    Why doesn't work the pipe-symbol as delimiter?
    Can anybody give me a hint for using the correct regexp-pattern?
    thx
    Nuerni

    select level, rtrim(regexp_substr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ),:in_delimiter ) as token
    from dual
    connect by regexp_instr( :in_str || :in_delimiter, '(.*?)' || :in_delimiter, 1, level ) > 0
    order by level asc ;use a rtrim instead of regexp_replace then it works...
    Ravi Kumar

  • Why Validator object does'nt work within a Component

    Hy
    I am a newbie an started an application where I created the main application and some components.
    It work fine except  one of the componnents
    In this component I need to validate an data entry. (checking if it is a valid number)
    I tried creating an NumberValidator objetc in MXML, but In error Shows up saying that
    Component Declarions are not allowed here. and that Visual children must implment mx.core.IUI components ?
    Can anybody explain me what is the matter, and how can I fix this problem
    Thank in advance

    Works for me on Windows.
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Command+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Firefox menu) > Preferences > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * (menu bar) Tools > Page Info > Security > "View Cookies"
    * click the globe icon to the left of the address in the address bar, then More Information > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?
    In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference?

  • ArrayList of objects to array of object, does not work

    Hello,
    I have a short problem in transforming an ArrayList full of User 's to an array full of User 's.
    It seems Java isn't supporting this directly, example code:
    function User[] getUsers()
       ArrayList<User> userArrayList = new ArrayList<User>;
       //fill list with User 's
       User[] users = (User[]) userArrayList.toArray();
       return users;
    }     This code gives a class cast exception, cannot cast Object[] to User[].
    Why is this?
    When you manually iterate the arrayList and cast all objects to the User type in the array it will work, but it is more code + kinda takes out the use for a toArray() function.
    Is there something I am doing wrong or is it just not possible in java?

    If you have a Collection<T> after erasure the type of T is Object. Another reason you can't do it is that you could create arrays of generic types, which is not supported.
    p.s. if the array you pass in as a parameter to toArray is big enough it will be used otherwise a new array of the same runtime type is allocated.

  • Standard fill objects does not work

    When i create a standard fill for textboxes it does work, but for an imagebox it keeps changing back to [None]. Whatever i try, and yes... i do this without any document open, i can't get it done. The minute i create a new document and draw a textbox it gets the filling i've set a a standard, but for imageboxes.... no way. On a Mac with OSX the problem doesn't exist, so can this be a problem of CS3 in combination with WindowsXP?

    >Quark is capable and ID not.
    ID is not at all incapable in regards to your observations.
    You don't seem to understand that the shape tool and the frame tool are essentially the same thing, and that you set your defaults BY USING the shape tool. Your objection is as silly as complaining that a Phillips can't function as a Robertson when the screw you're using accepts either.
    However, Adobe has made a programming decision that restricts the use of defaults when placing objects. Peter has a valid beef here and Adobe should fix the situation. He and I just have different opinions on the route that fix should take.

  • Many to many relationship does not work on certain role played dimension

    Hi,
    I have a cube with role playing Account dimension, used once as “Account” and once as “Other Account” dimension.
    I’ve added Trip dimension related to the account dimension by a bridge table AccountTrip 
    making a many to many relationship (many accounts can be in one trip and one account can go to many trips).
    When I added the bridge measure group to the cube, I saw in the dimension usage tab that the relationship between the bridge and the Account dimension was done automatically.
     I added the trip dimension with regular relationship to the bridge measure group and many to many relationship to the main fact table using the bridge group.
    All compiled fine and gave correct results. Then I noticed that when slicing the fact table by the Other account dimension I get correct results,
     but when I add the Trip dimension I get the results as if I was slicing by the Account dimension, not by the “Other account” dimension.
    I checked the cube and noticed I did not set the relationship between the bridge to the “Other Account” dimension (role playing). I set it now (regular relationship, same as the account dimension), but still getting the same results.
    Conclusion-  when slicing by the new Trip (M2M) dimension and the “Other Account”
     (role played) dimension I get the results of the “Account” dimension, not those of the “Other Account” dimension.
    I checked the relationships of the “Other Account” dimension in the cube but it looks correctly set (to the external account of the main fact table and to account of the bridge table).
    (Just to note I have two other bridges on the cube which are not related and don’t look like they need to be related, plus two other measure groups of the main fact table used for distinct count which are related appropriately).
    What else should be done???
    I would greatly appreciate your help!
    Thanks
    Namnami

    The update server is down; try this temporary workaround
    App Store>Purchased>Select "All"
    Note: Look out for apps that have the word "Update"
    http://i1224.photobucket.com/albums/ee374/Diavonex/9c256282736869f322d4b3071bbb2 a82_zps51a6f546.jpg

  • Binding a shared variable to a NI-PSP data object does not work

    Hi,
    I want to share data between a RT-target and one or more hosts (LV 8.6.1). The network shared variables are deployed to the RT-Target.  According to NI accessing shared variables from another project or host has to be done by defining a shared variable on the host and aliasing it to the NI-PSP data object on the target.
     I did that and the host shared variable generated an error (0x8BBB0011) during runtime.
    Next I aliased to a shared variable deployed on the host from another project. This did work.
    Another thing I tried was to bind the variable from the RT-target to a display element:
    This is working !!! And as you can see the path of the NI-PSP data object is exactly the same ! So what is the difference between binding a data object to a shared variable and to a display element?
    Is there a bug in the SVE or am I missing something here?
    The host project:
    The publisher VI
    Hope, someone has an answer.
    Regards
    Matthias Quade
    Solved!
    Go to Solution.
    Attachments:
    AliasTestWrite-RT.vi ‏8 KB
    AliasTestConsumer.vi ‏8 KB

    Dear Mr. Quade,
    thank you for posting at the National Instruments Forum. There is a known issue with the path of the bound variable with LabVIEW 8.6.1
    Please download the patch for LabVIEW 8.6.1, it should solve your problem:
    http://joule.ni.com/nidu/cds/view/p/id/1255/lang/de
    Best regards from Munich
    MarianO

  • Align to pixel grid for new object does not work

    I have set my document to align new objects (shapes) to pixel grid under the advanced settings
    I have gone into the options on the transform panel and set the check box to say all new objects should also align to pixel grid
    But when I create a shape it doesn't work, I end up with shapes with 3 digit decimal sub pixel sizes. eg. 34.536px
    If I want an object to align to pixel grid I'm having to set it individually for each object.
    Is this a bug that will get fixed or is there some work around, it's frustrating to have to set the feature for every single object I create

    Align new Objects to pixel grid setting works perfectly for all tools in Adobe Illustrator CC (17). In Illustrator 2014 CC (18) the rectangle and rounded rectangle tool do not automatically align to pixel.
    This thread says it's because of the new Live Rectangle tool objects are exempt from the Align to Pixel grid until you release them by expanding them.
    Bug? Illustrator CC 2014 and Pixel Grid settings not working.
    I'll be using the old version until Adobe 'fixes' this.

  • How many records does SAP object BAPIE1VARKEY contain

    Hi Folks,
    I have just started learning ABAP.
    And i have following queries in mind.
    how many records does SAP object BAPIE1VARKEY contain?
    regards,
    Nithin

    Going on an interview? Going to try to fool a savvy tech manager?  I hope not...  How about you tell me why the answer is not two?

  • Function based indexes on object tables

    Hi,
    I am trying to create a function based index on an object table. I am getting the following error:
    SQL> create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index;
    create index cell1_indx on cell1(create_cell1(id)) indextype is mdsys.spatial_index
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-13249: internal error in Spatial index: [mdidxrbd]
    ORA-13249: Error in Spatial index: index build failed
    ORA-13249: Stmt-Execute Failure: SELECT num_rows from all_tables where owner='ASHE' and table_name=
    'CELL1'
    ORA-06512: at "MDSYS.SDO_INDEX_METHOD_9I", line 7
    ORA-06512: at line 1
    Here cell1 is an object table.
    Is the procedure for creating function based indexes on object tables different from relational tables?
    Chinni

    One of the many new features in Oracle 8i is the Function-Based Index (we will refrain from using FBI, but only just). This allows the DBA to create indexes on functions or expressions; these functions can be user generated pl/sql functions, standard SQL functions (non-aggregate only) or even a C callout.
    A classic problem the DBA faces in SQL Tuning is how to tune those queries that use function calls in the where clause, and result in indexes created on these columns not to be used.
    Example
    Standard B-Tree index on SURNAME with cost based optimizer
    create index non_fbi on sale_contacts (surname);
    analyze index non_fbi compute statistics;
    analyze table sale_contacts compute statistics;
    SELECT count(*) FROM sale_contacts
    WHERE UPPER(surname) = 'ELLISON';
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=3 Card=1 Bytes=17)
    1 0 SORT (AGGREGATE)
    2 1 TABLE ACCESS (FULL) OF 'SALES_CONTACTS' (Cost=3 Card=16 Bytes=272)
    Now we use a function based index
    create index fbi on sale_contacts (UPPER(surname));
    analyze index fbi compute statistics;
    analyze table sale_contacts compute statistics;
    SELECT count(*) FROM sale_contacts WHERE UPPER(surname) = 'ELLISON';
    Execution Plan
    0 SELECT STATEMENT Optimizer=CHOOSE (Cost=2 Card=1 Bytes=17)
    1 0 SORT (AGGREGATE)
    2 1 INDEX (RANGE SCAN) OF 'FBI' (NON-UNIQUE) (Cost=2 Card=381 Bytes=6477)
    The function-based index has forced the optimizer to use index range scans (retuning zero or more rowids) on the surname column rather than doing a full table scan (non-index lookup). Optimal performance does vary depending on table size, uniqueness and selectivity of columns, use of fast full table scans etc. Therefore try both methods to gain optimal performance in your database.
    It is important to remember that the function-based B*Tree index does not store the expression results in the index but uses an "expression tree". The optimizer performs expression matching by parsing the expression used in the SQL statement and comparing the results against the expression-tree values in the function-based index. This comparison IS case sensitive (ignores spaces) and therefore your function-based index expressions should match expressions used in the SQL statement where clauses.
    Init.ora Parameters
    The following parameter must be set in your parameter file: QUERY_REWRITE_INTEGRITY = TRUSTED
    QUERY_REWRITE_ENABLED = TRUE
    COMPATIBLE = 8.1.0.0.0 (or higher)
    Grants
    Grants To create function-based indexes the user must be granted CREATE INDEX and QUERY REWRITE, or alternatively be granted CREATE ANY INDEX and GLOBAL QUERY REWRITE. The index owner must have EXECUTE access on the function used for the index. If execute access is revoked then the function-based index will be "disabled" (see dba_indexes).
    Disabled Indexes
    If your function-based index has a status of "disabled" the DBA can do one of the following:
    a) drop and create the index (take note of its current settings)
    b) alter index enable, function-based indexes only, also use disable keyword as required
    c) alter index unusable.
    Queries on a DISABLED index fail if the optimizer chooses to use the index.Here is an example ORA error:
    ERROR at line 1: ORA-30554: function-based index MYUSER.FBI is disabled.
    All DML operations on a DISABLED index also fail unless the index is also marked UNUSABLE and the initialization parameter SKIP_UNUSABLE_INDEXES is set to true.
    Some more Examples
    CREATE INDEX expression_ndx
    ON mytable ((mycola + mycolc) * mycolb);
    SELECT mycolc FROM mytable
    WHERE (mycola + mycolc) * mycolb <= 256;
    ..or a composite index..
    CREATE INDEX example_ndx
    ON myexample (mycola, UPPER(mycolb), mycolc);
    SELECT mycolc FROM myexample
    WHERE mycola = 55 AND UPPER(mycolb) = 'JONES';
    Restriction & Rule Summary
    The following restrictions apply to function based indexes. You may not index:
    a) LOB columns
    b) REF
    c) Nested table column
    d) Objects types with any of the above data types.
    Function-based indexes must always follow these rules:
    a) Cost Based optimizer only, must generate statistics after the index is created
    b) Can not store NULL values (function can not return NULL under any circumstance)
    c) If a user defined pl/sql routine is used for the function-based index, and is invalidated, the index will become "disabled"
    d) Functions must be deterministic (always return the same value for a known input)
    e) The index owner must have "execute" access on function used in the function-based index. Revocation of the privilege will render the index "disabled"
    f) May have a B-Tree and Bitmap index type only
    g) Can not use expressions that are based on aggregate functions, ie. SUM, AVG etc.
    h) To alter a function-based index as enabled, the function used must be valid, deterministic and the signature of the function matches the signature of the function when it was created.
    Joel P�rez

  • Too many objects match the primary key oracle.jbo.Key[2]. Error

    Hi
    I have to display a Read Only table and an Editable Form below it so that the user can select a row in the table and that row should be populated in the form below.
    The user should be able to update the row and save in the below form.
    Then the table above also should be refreshed with the updated values.
    For this I have created a VO based on EO.
    Using the same data control I have created a UI Readonly table and an Editable form in the same JSF page.
    When I run the page, the first row is populated in both the table and form.
    When I select the second row in the table, I am getting the following error in the Editable Form
    Error: Too many objects match the primary key oracle.jbo.Key[2 ].
    My EO has only one Primary key and I have not included the ROWID column in EO or VO.
    How can we fix this issue ?
    However, if I move the editable form to another page, It is working fine.
    But we need to have both the table and editable form in the same page for usability purposes.
    Thanks for any help.
    Sameer

    you can try refreshing your VO in various ways:
    1. try setting partialTrigger on table pointing to your commandbutton .. also make sure partialSubmit on your commandButton is set to true.
    2. Do bindings on the page def for Execute action of your read-only VO. Call this method from actions of your commandButton.
    If they dont work then you can try creating a method in your AMImpl which does calls vo.executeQuery and expose this to pageDef.. and call if from the actions of your button .. but this may not be best way
    Amit

  • Menu Object; MANUAL option. What is this, and how does it work?

    What is this... and, how does it work? Can't find documentation on this.

    My knee-jerk reaction is, "are f'n kidding me?"... but, of course, you're not.
    I must say, that is an incredibly useless option. How would that 'option" differ from simply making a text object (or text/rectangle/image combo or group) and creating a link?
    What got me looking at this option was the hope to find some way to insert a dynamic "field" that could be used on a master page to display the current page title (of a page based on that master). Something similar to Word (and other applications) that you can enter information into a document property and then insert that information anywhere within the document by using a field code for that info. I don't know if there is an HTML code that could be used to accomplish this, in this case. Something that would refer to the page title.
    Thanks for the info none-the-less.

  • Help with multi-table mapping for one-to-many object inheritance

    Hi,
    I have posted on here before regarding this (Toplink mapping for one-to-many object inheritance but I am still having problems mapping my object model to my schema.
    Object model
    The Person and Organisation objects contain base information and have the primary keys person_id and organisation_id. It is important that there is no duplication of person and organisation records, no matter how many times they are saved in different roles.
    There are two types of licenceholder in the problem domain, and the ILicenceHolder interface defines information and methods that are common to both. The PersonalLicenceHolder object represents one of these types of licenceholder, and is always a person, so this class extends Person and implements ILicenceHolder.
    The additional information and methods that are required by the second type of licenceholder are defined in the interface IPremisesLicenceHolder, which extends ILicenceHolder. Premises licence holders can either be people or organisations, so I have two objects to represent these - PremisesLicenceHolderPerson which implements IPremisesLicenceHolder and extends Person, and PremisesLicenceHolderOrganisation which implements IPremisesLicenceHolder and extends Organisation.
    The model is further complicated by the fact that any single Person may be both a PersonalLicenceHolder and a PremisesLicenceHolderPerson, and may be so several times over. In this case, the same basic Person information needs to be linked to several different sets of licenceholder information. In the same way, any single Organisation may be a PremisesLicenceHolderOrganisation several times over.
    Sorry this is complicated!
    Schema
    I have Person and Organisation tables containing the basic information with the primary keys person_id and organisation_id.
    I have tried to follow Donald Smith's advice and have created a Role table to record the specialised information for the different types of licence holder. I want the foreign keys in this table to be licenceholder_id and licence_id. Licenceholder_id will reference either organisation_id or person_id, and licence_id will reference the primary key of the Licence table to link the licenceholder to the licence. Because I am struggling with the mapping, I have changed licenceholder_id to person_id in an attempt to get it working with the Person object before I try the Organisation.
    Then, when a new licenceholder is added, if the person/organisation is already in the database, a new record is created in the Role table linking the existing person/organisation to the existing licence rather than duplicating the person/organisation information.
    Mapping
    I am trying to use the toplink mapping workbench to map my PremisesLicenceHolderPerson object to my schema. I have mapped all inherited attributes to superclass (Person). The primary table that the attributes are mapped to is Person, and I have used the multi-table info tab to add Roles as an additional table and map the remaining attributes to that.
    I have created the references PERSON_ROLES which maps person.person_id to roles.person_id, ROLES_PERSON which maps roles.person_id to person.person_id and ROLES_LICENCE which maps roles.licence_id to licence.licence_id.
    I think I have put in all the relationships, but I cannot get rid of the error message "The following primary key fields are unmapped: PERSON_ID".
    Please can somebody tell me how to map this properly?
    Thank you.

    I'm not positive about your mappings, but it looks like the Person object should really have a 1:M or M:M mapping to the Licenceholder table. This then means that your object model should be similar, in that Person object could have many Licenses, instead of being LicenceHolders. From the looks of it, you have it set up from the LicenceHolder perspective. What could be done instead if a LicenceHolder could have a 1:1 reference to a person data object, rather than actually be a Person. This would allow the person data to be easily shared among licences.
    LicenceHolder1 has an entry in the LicenceHolder table and Person table. LicenceHolder2 also has entries in these tables, but uses the same entry in the Person table- essentially it is the same person/person_ID. If both are new objects, TopLink would try to insert the same person object into the Person table twice. I'm not sure how you have gotten around or are planning to get around this problem.
    Since you are using inheritance, it means that LicenceHolder needs a writable mapping to the person.person_id field- most commonly done through a direct to field mapping. From the description, it looks like roles.person_id is a foreign key in the multiple table mapping, meaning it would be set based on the value in the person.person_id field, but the person.person_id isn't actually mapped in the object. Check to make sure that the ID attribute LicenceHolder is inheriting from person hasn't been remapped in the LicenceHolder descriptor to a different field.
    Best Regards,
    Chris

Maybe you are looking for

  • URGENT HELP, How do you burn a DVD from Final Cut Pro

    This is my first video and I have to have it done by Wednesday, but I dont know how to take the movie from final cut and import to DVD Studio Pro. If anyone can help please let me know as soon as you can. Thanks Zack

  • Problem "No sim card installed" after updating IOS6.1

    I've update my iPhone 4 to the IOS6.1 and now the iPhone shows that I have no sim card installed. Is it a problem of IOS 6.1? How can I solve this ? Thanks

  • Lookup Issue in ODI

    Hi there, I need to do lookup in source tables and insert the result to target table in an ODI interface. I have source table s_table1 with: s_table1 columns: LV1_ID_COLUMN, LV2_ID_COLUMN, LV3_ID_COLUMN, ... LV15_ID_COLUMN I need to use the LVx_ID co

  • When I scrub through the timeline in AEcc things get pixelated beyond recognition

    In after effects cc, when I scrub through un-renedered portions of the timline, the image in the viewer becomes too pixelated to make out until I release the mouse again. I get the same result with even a plain video file without any effects on it. I

  • Thinkpad w520 technical problems and warranty problems

    I have a huge problem with my Lenovo ThinkPad W520 (Machine#4270CTO, SN * 11/07) purchased on US website in August 2011. Here is the story below: In late December 2011 my laptop hardrive stopped working and as I am in Georgia(Caucasus) I went to the