Query on Objects & Relationships

My customer has 3 companies (C1, C2 & C3) and they want it under the same client. The org. units, Positions and Jobs for all the three company codes are same. Is it possible to define each of these objects, org. units, Positions & Jobs only once and assign them to all the three company codes? Or, should we create them seperately for each company?  As far as I can see, we have to create them seperately (even though the customer may think they are the same for all the 3 companies, internally SAP needs to differentiate). But I am not sure. Kindly help me.
-Shambhvi

Hi
Everything in SAP is an object and it is identified with an unique number.
So you cannot have the same thing.
You need to create the objects where ever needed.
R K

Similar Messages

  • Object relationship profile.

    Hi Everyone,
    Can anyone explain why we use Object relationship profile to link documents when we can link documents through follow up documents?
    Appreciate your help!
    Thanks
    Mreddy

    Hi,
    If you want to link the transaction as a relationship then you need to have object relationship profile for e.g. You can link opportunities with each other, and by doing so, link corresponding sales projects and opportunities with each other. This always makes sense, if you wish to split a sales project into several sub-projects, but still wish to link all sub-projects with the higher- level sales project.
    On similar lines, One master opportunity can have multiple sub opporutnity. This can be seen in Relationship tab and can be only accomplished if relationship profile is maintained.
    There is also a link of transaction while creating follow up doc but the relationship is not achieved as way it is achieved as mentioned above.
    Hope this helps and clears some of your query.
    Regards,
    Chandrakant

  • How to link CRM opportunity to R/3 projects through object relationship

    Hello everyone,
    i have this new development to link CRM opportunity with R/3 projects ( table PROJ ). as user creates the opportunity in CRM in relationships tab he should be able to see the R/3 projects as part of search help when he select create relationship -> projects. i have manged to get the project data from R/3 to CRM through middleware and search help is also showing list of all the projects. problems arises when i try to save the relationship by pressing save button. it gives me error messsage that
    'Project with the number SI090100000000000 does not exist ==> Interlinkage is not created'
    Please help me how to maintain this linkage.
    Thanks
    Sudhir Grover

    Dear Sudhir,
    I have search this help portal a lot to find the solution for my need that,
    Present I am working for a project where the same requirement that what you had in one of your project and did successfully. Let me explain about it,
    Opportunities will be created in CRM  and Projects will be created out side CRM (Project systems) now I have to link this projects information to the corresponding opportunities in CRM.
    For this, I was knew we have to set up "Object relationship profile" that is it.
    But once I red this thread theoretically I got confidence, the requirement can be achieved by following your way, but here I have the below doubts
    1. How to replicate CProjects to CRM from ECC?? (Present middleware set up is working fine (BPs and Products, and etc. replication is happing fine)
    2. ITS (PPM URl) is already provided by PPM team and working fine (I have tested using Transaction launcher), in this case can I use that ITS URL?
    I am really grateful to you!! Kindly help me out!!
    My Email ID is - [email protected]
    Thanks and regards,
    Shaik. 

  • Querying deleted objects container in Active Directory using JNDI

    Hi,
    I am trying to query deleted objects container using JNDI which fails with error 64.
    Has anyone seen this or knows how to query AD using binary data in JNDI.
    Seems to me there is some problem with the search base.
    search base: <GUID=18E2EA80684F11D2B9AA00C04F79F805,dc=engserver,dc=com>.
    filter: objectclass=*
    search scope: subtree
    This is the error:
    Search example failed.
    javax.naming.InvalidNameException: <GUID=18E2EA80684F11D2B9AA00C04F79F805,dc=eng
    server,dc=com>: [LDAP: error code 64 - 00000057: LdapErr: DSID-0C090563, comment
    : Error processing name, data 0, v893 ]; remaining name '<GUID=18E2EA80684F11D2B
    9AA00C04F79F805,dc=engserver,dc=com>'
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2802)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2616)
    at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1744)
    at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1667)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirCon
    text.java:368)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
    positeDirContext.java:328)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCom
    positeDirContext.java:313)
    at javax.naming.directory.InitialDirContext.search(InitialDirContext.jav
    a:245)
    at jSearch.main(jSearch.java, Compiled Code)
    Thanks,
    Chetan

    I thought I had posted one of these. How remiss of me !/**
    * deleted.java
    * 5 July 2001
    * Sample JNDI application to search for deleted objects
    * Modified December 2004 to add Win2K3 lastKnownParent
    import java.util.Hashtable;
    import javax.naming.*;
    import javax.naming.ldap.*;
    import javax.naming.directory.*;
    import com.sun.jndi.ldap.ctl.*;
    class DeletedControl implements Control {
         public byte[] getEncodedValue() {
              return new byte[] {};
         public String getID() {
              return "1.2.840.113556.1.4.417";
         public boolean isCritical() {
              return true;
    public class deleted     {
         public static void main (String[] args)     {
              Hashtable env = new Hashtable();
              String adminName = "CN=Administrator,CN=Users,DC=ANTIPODES,DC=COM";
              String adminPassword = "XXXXXX";
              String ldapURL = "ldap://mydc.antipodes.com:389";
              env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
              //set security credentials, note using simple cleartext authentication
              env.put(Context.SECURITY_AUTHENTICATION,"simple");
              env.put(Context.SECURITY_PRINCIPAL,adminName);
              env.put(Context.SECURITY_CREDENTIALS,adminPassword);
              //connect to my domain controller
              env.put(Context.PROVIDER_URL,ldapURL);
              try {
                   //Create the initial directory context
                   LdapContext ctx = new InitialLdapContext(env,null);
                   //Create the search controls           
                   SearchControls searchCtls = new SearchControls();
                   //Specify the attributes to return
                   String returnedAtts[]={"distinguishedName","lastKnownParent"};
                   searchCtls.setReturningAttributes(returnedAtts);
                   //Specify the search scope
                   searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);
                   //specify the LDAP search filter
                   String searchFilter = "(&(objectClass=user)(isDeleted=TRUE))";
                   //Specify the Base for the search
                   String searchBase = "DC=antipodes,DC=com";
                   //initialize counter to total the results
                   int totalResults = 0;
                   //specify the Deleted control
                   Control[] rqstCtls = new Control[] {new DeletedControl()};
                   ctx.setRequestControls(rqstCtls);
                   //Search for objects using the filter
                   NamingEnumeration answer = ctx.search(searchBase, searchFilter, searchCtls);
                   //Loop through the search results
                   while (answer.hasMoreElements()) {
                        SearchResult sr = (SearchResult)answer.next();
                        totalResults++;
                        System.out.println(totalResults + ". " + sr.getName().toString());
                        // Print out some of the attributes, catch the exception if the attributes have no values
                        Attributes attrs = sr.getAttributes();
                        if (attrs != null) {
                             try {
                                  for (NamingEnumeration ae = attrs.getAll();ae.hasMore();) {
                                       Attribute attr = (Attribute)ae.next();
                                       System.out.println("Attribute: " + attr.getID());
                                       for (NamingEnumeration e = attr.getAll();e.hasMore();System.out.println("   " + e.next().toString()));
                             catch (NullPointerException e)     {
                             System.err.println("Problem listing attributes: " + e);
                   System.out.println("Deleted objects: " + totalResults);
                   ctx.close();
              catch (NamingException e) {
              System.err.println("Problem searching directory: " + e);
    }

  • What is the logical use of defining Dimension Object Relationships in DBI?

    Hi!
    I am reading the Oracle Daily Business Intelligence Implementation Guide and as I am following the guide on how to extend DBI, I saw a section which discusses how to create dimension object relationships. Until now, I could not fully realize what is the logical use of defining this relationship among dimension objects. I hope someone can enlighten me on this matter...
    Thanks.

    It LIVES ON FOREVER, and starts to take on its own personality, hungrily chasing down other objects in memory and ATTACKING THEM AT WILL. Also it grows over time, in its evil attempt to CONSUME YOUR ENTIRE MACHINE, and comes out and EATS YOU UP TOO! MWAHHHAAAHHHAAAA
    No wait, that was a sci-fi. It just lives until no more references to it exist and thus becomes eligible for garbage collection, and is only a "JAVA" feature not JDBC.

  • What are the query types,Objects CRM provides for third party

    What are the query types,Objects provided by the CRM so that it can be called by third party for integartion pupose.

    First, that statement - and those materials - refer to the "legacy" StreamInsight query/adapter model. They do not refer to how things work with the Reactive model introduced in version 2.1. Specifically, it talks about Dynamic Query Composition (DQC).
    You cannot use a deployed Observable in another instance of StreamInsight. You may be able to use them across applications in the same instance - off the top of my head, I'm not sure. I'm getting ready to get on a plane but will take a look at it later.
    Typically, however, applications act as containers (comparable to .NET AppDomains) so I don't think that you'd be able to do this easily. That said, the code and assemblies
    can be reused across multiple instances/applications. You would have separate instances of the classes involved but you would be able to reuse the query logic. That's a common use case.
    Can you be more specific about your use case and what you are trying to accomplish here? It's possible that there are alternative ways to do what you are trying to do.
    DevBiker (aka J Sawyer)
    Microsoft MVP - Sql Server (StreamInsight)
    If I answered your question, please mark as answer.
    If my post was helpful, please mark as helpful.

  • How to create sap query with "or" relationship

    dear experts,
    I need a report to display the employee whoese WSR is
    changed in the month for infotype 0007.
    that is ,we want to search with selection
    begda OR endda between 2008-01-01 and 2008-01-31.
    how to create sap query with "or" relationship?

    hi use like this,
    CALL FUNCTION 'HR_READ_INFOTYPE'
      EXPORTING
        pernr                 =  p_pernr
        infty                   =  '0007'
       BEGDA                =  p_date1
       ENDDA                 = p_date2
      TABLES
        infty_tab             = itab .
    hi use this by passing the pernr to fm and giving the dates low and high in the p_date1 and p_date2.
    loop at itab where condition.
    endloop.
    may it helps u,
    regards,
    venkat.

  • Query SCOM Objects state by class

    Hi,
    I want to perform an SQL Query by Object class, that will show me the object name, its path, and its current state (same as discovered inventory on scom console).
    Query that will return me same output as this powershell command:
    Get-SCOMClass -Name "$classtype" | Get-SCOMClassInstance | Sort-Object HealthState,Path -Descending   | select-object {$_.Path + " " + $_.displayname + "" + $_.HealthState + ""}
    The thing is that powershell command  takes 30 secs to run, thus I want to do it through SQL Query which is much faster.
    I've wrote the query above:
    SELECT distinct
    BME.BaseManagedEntityId,
    TBME.DisplayName AS Path,
    BME.DisplayName,
    TYPE.TypeName AS Class,
    CASE S.HealthState WHEN 3 THEN 'Critical' WHEN 2 THEN 'Warning' WHEN 1 THEN 'Success' WHEN 0 THEN 'Uninitialized' ELSE 'Unknown' END AS STATE,
    S.LastModified
    FROM BaseManagedEntity BME WITH(NOLOCK)
    INNER JOIN TypedManagedEntity TME WITH(NOLOCK) ON BME.BaseManagedEntityId = TME.BaseManagedEntityId AND BME.IsDeleted = 0 AND TME.IsDeleted = 0
    INNER JOIN BaseManagedEntity TBME WITH(NOLOCK) ON BME.TopLevelHostEntityId = TBME.BaseManagedEntityId AND TBME.IsDeleted = 0
    INNER JOIN ManagedType TYPE WITH(NOLOCK) ON TME.ManagedTypeID = TYPE.ManagedTypeID
    INNER JOIN State AS S ON S.LastModified = (select max(LastModified) from State where bme.basemanagedentityid=BaseManagedEntityId)
    where type.TypeName like 'Microsoft.Linux.Computer'
    order by STATE
    the problem is that most of queried servers' state isshown as 'Uninitialized' while on scom console it is shown as helathy.
    What am I doing wrong?

    The Health state of the ManagedEntity is determined by monitor system.health.enetitystate. rather than using latest modified health state.
    It is better to rewrite the SQL statement as
    SELECT distinct
     BME.BaseManagedEntityId,
     TBME.DisplayName AS Path,
     BME.DisplayName,
     TYPE.TypeName AS Class,
     CASE S.HealthState WHEN 3 THEN 'Critical' WHEN 2 THEN 'Warning' WHEN 1 THEN 'Success' WHEN 0 THEN 'Uninitialized' ELSE 'Unknown' END AS STATE
    FROM BaseManagedEntity BME WITH(NOLOCK)
     INNER JOIN TypedManagedEntity TME WITH(NOLOCK) ON BME.BaseManagedEntityId = TME.BaseManagedEntityId AND BME.IsDeleted = 0 AND TME.IsDeleted = 0
     INNER JOIN BaseManagedEntity TBME WITH(NOLOCK) ON BME.TopLevelHostEntityId = TBME.BaseManagedEntityId AND TBME.IsDeleted = 0
     INNER JOIN ManagedType TYPE WITH(NOLOCK) ON TME.ManagedTypeID = TYPE.ManagedTypeID
     INNER JOIN State AS S ON S.BaseManagedentityid=BME.BaseManagedentityid
     INNER JOIN Monitor M ON M.MonitorId=S.MonitorID
    where M.MonitorName='System.Health.EntityState' like 'Microsoft.Linux.Computer'
    order by STATE
    Roger

  • Error in LIME Query-Authorization object C_Lime_Loc  cannot be checked..

    hi,
    I am very new to SAP Basis. i am facing the subject mentioned error in one of the user in a client when i run MM03 T.code.Su53 is showing Successful.
    Temporaily ,I have provided the user with Profile SAP_ALL  along with roles specified for the user and things are working fine.
    i have tried assigning this object to all the Roles in the user but still in vain. Request  some guidance to resolve this problem and thus removing the SAP_ALL profile to the concern user.Thanks in advance.
    Edited by: Selva kannan on May 5, 2008 2:13 PM

    Hi,
    Heartly thanks for your feedback.
    Actally the error reads: Error in Lime Query:Authrization object C_Lime_Loc cannot be checked.
    SU53 is displaying last authorization is successful.
    i have already added the object C_LIME_Loc to all the roles and checked the T.code MM03 without SAP_ALL profile.but failed.
    I had compared the t.code su24 output in  the user  once with SAP_ALL profile and once without SAP_ALL and found both has same(identical) checked value. need help as i can feel that there is some authrization in SAP_ALL which is missing in my roles. how do i detect this....how do i check the objects in SAP_ALL related to this error.

  • Web service 2.0 query child object

    Hi,
    This is sathis.
    I need help with some basic webservice 2.0 query child object in CRM On Demand R17
    following is my sample SOAP message but it will return error.
    <?xml version="1.0" encoding="utf-8" ?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <ContactQueryPage_Input xmlns="urn:crmondemand/ws/ecbs/contact/10/2004">
    <ListOfContact pagesize="100" startrownum="0" recordcountneeded="true">
    <Contact>
    <Id>='AAPA-4I0UCG'</Id>
    <ListOfCustomObject3Query>
    <CustomObject3>
    <Id />
    </CustomObject3>
    </ListOfCustomObject3Query>
    </Contact>
    </ListOfContact>
    </ContactQueryPage_Input>
    </soap:Body>
    </soap:Envelope>
    This is the Error:
    Element with XML tag 'ListOfCustomObject3Query' is not found in the definition of EAI Integration Component 'Contact'(SBL-EAI-04127)
    please help me how to query child object using Web Service 2.0 with R17
    Thanks in Advance...
    regards,
    Sathis Kumar

    Hi Sathis,
    Try replacing:
    <ListOfCustomObject3Query>
    <CustomObject3>
    <Id />
    </CustomObject3>
    </ListOfCustomObject3Query>
    with:
    <ListOfCustomObject3>
    <CustomObject3>
    <Id />
    </CustomObject3>
    </ListOfCustomObject3>
    The tags should match those you see when you download the Contact WSDL file.
    Thanks,
    Sean

  • How to create 'Query Result Object' entity?

    Hi Gurus,
    I have come across a situation where i need to create an entity [not a value node] of object type 'Query Result Object', and set the values.
    Its possible to create an entity of type 'Root object', but was not able to find a way to create other object types.
    Please find below, the details of the query result object:
    Component: CRMAUI
    Object: AUIHANAQR
    Object type: Query Result
    Attribute Structure: CRMS_AUI_SRCH_RESULT_HANA
    The above entity is part of the collection which in turn is the result set of a dynamic query search. Due to a particular requirement, we need to add some more entries of the same object type in the result in the 'search event' itself.
    Please find below, the details of the corresponding dynamic query object:
    Object: AUIQueryHANA
    Object type: Dynamic Query
    Kindly let me know if you have come across such situation before and please share the solution if you have any.
    Your help will be much appreciated.
    Thanks and regards,
    Arun N  K.

    Hello,
    In fact there is not really entities for query result object, it's entries in the result table.
    So you need to modify the search to add more results, usually there are some badi to do so, or maybe you can extend the class used to perform the query in order to add some results.
    Regards,
    Benoît

  • Join Query in Object Oriented Programming

    Hi,
    I am trying to understand better how OO programming should work in CFC context.  For example, I have two database tables: Customer and Order.  So I create two CFCs, one for Customer and another for Order.  In the CFCs I have query functions (select, insert, update) to access and manipulate data in the underlying tables.
    Now, I need to create a new CFC, OrderReport.  This CFC takes in customerID and returns data pulled from both Customer and Order tables.  I can just have a join query that pulls data from these two tables.  However, I have been wondering whether this method is within the spirit of Object Oriented programming.  Should this CFC be able to access directly to the two tables?  Or should I pull data separately using Customer CFC and Order CFC, and join them locally (ie. in OrderReport CFC)?  This latter method would be a lot slower to run than the first method.
    Can you advise me as to what the best practice is in the context of OO programming?  Thank you.

    This is a common question for those new to OO programming. Here are some of
    my thoughts on the topic.
    OO programming has nothing to do with tables. Your tables are essentially a
    relational storage of one part of a business concept. It just so happens
    that most of the data you need to support the business concept of Customer
    and the business concept of Order are stored in tables named Customer and
    Order. This is because database tables often relate to a business concept. I
    think you'd find that to get the entire customer, you'd have to get data
    from other tables, like State and Gender and other such tables.
    The reason why I bring this up is to begin to separate your thinking.
    Databases are concerned with efficient storage and retrieval of data.
    Objects (CFCs) are not concerned at all with storage of data. Objects are
    concerned with encapsulating business logic relating to a business concept.
    Just like your database may have columns not needed by your CFCs, your CFCs
    likely have methods not needed by your database.
    For example, if you wanted to know, in your application, whether to show an
    In Store Pickup option, you may wish to add an isLocal() method to your
    customer object. This would ( we'll pretend) get the customer's zip code,
    and look it up in  GeographicalPostalServiceMapper object to tell us how far
    away the customer is.
    The point is, the right OO (CFC) design has nothing to do with how your
    tables are organized in the database. You would do well to concern yourself
    with the needs of the application and what sort of questions you need your
    customer object to be able to answer to the other parts of your application.
    Like, isLocal(), isOver21(), isBadCreditRisk() and so on.
    As to your question about joins, you would do well to use joins in your
    application. Do not be afraid of using queries to get the information you
    need. Especially for reporting queries. In these cases, I often make an
    object called a xxxList. My CustomerList.cfc would have the different ways
    to list customer data, like CustomerOrders and CustomerOrderReturns. I'd
    hide this join relationship inside of the CustomerList object so only the
    CustomerList object has the SQL. That's usually enough encapsulation for the
    needs of my application.
    Truly, it doesn't matter what the name of the object is, just that you
    assign it the responsibility of managing a business concept and keep that
    business concept inside that object. You seem to have suggested
    CustomerReport.cfc and that would be a fine name for an object that can
    return numerous Customer Reports.
    Happy Coding
    DW

  • SQL query with object function

    I want to write a function, which returns more than one value and to include those values into a SQL statement. For example I want to query the RDB with....
    select t.id, my_function(t.id).value1 name, my_function(t.id).value2 address ....
    from table_x t
    where t.id between 1 and 10
    and bitand(my_function(t,id)).sec_id,2)>3
    Is it possible to do something like this?
    I tried to use object and table of objects(my_type) to return value of my_type but when I used
    select ......my_function(t.id).name,my_function(t.id).address ...
    from table_x
    where t.id=some_value;
    the function was called twice(i expected this result, but i don't know how to avoid it).
    Simple example
    CREATE OR REPLACE TYPE l_test AS OBJECT
    id NUMBER(10),
    name varchar2(100),
    a_date date
    CREATE OR REPLACE FUNCTION test_f2(test_number IN NUMBER)
    RETURN l_test
    IS
    a number;
    BEGIN
    select t_seq.nextval into a from dual;
    return l_test(a,'test value ='||test_number,sysdate+test_number);
    END;
    select test_f2(i.id).id client_id, test_f2(i.id).name client_name from r_owners i
    CLIENT_ID CLIENT_NAME
    1 test value =1
    3 test value =2
    I want to be able to loop in cursor and use those values
    All ideas are welcome!
    Thanks,
    Iassen Houbenov

    Check it out...
    SQL> CREATE OR REPLACE TYPE emp_add AS OBJECT
      2  (  office VARCHAR2(50),
      3     location VARCHAR2(50),
      4      MEMBER FUNCTION get_office RETURN VARCHAR2,
      5      MEMBER FUNCTION get_location RETURN VARCHAR2,
      6      CONSTRUCTOR FUNCTION emp_add(id NUMBER) RETURN SELF AS RESULT,
      7      CONSTRUCTOR FUNCTION emp_add(id NUMBER, office VARCHAR2,location VARCHAR2) RETURN
      8        SELF AS RESULT
      9  ) NOT FINAL;
    10  /
    Type created.
    SQL> CREATE OR REPLACE TYPE BODY emp_add IS
      2      MEMBER FUNCTION get_office RETURN VARCHAR2
      3      IS
      4      BEGIN
      5          RETURN SELF.office;
      6      END;
      7      MEMBER FUNCTION get_location RETURN VARCHAR2
      8      IS
      9      BEGIN
    10          RETURN SELF.location;
    11      END;
    12      CONSTRUCTOR FUNCTION emp_add(id NUMBER)
    13          RETURN SELF AS RESULT
    14      IS
    15      BEGIN
    16         SELECT dname, loc
    17         INTO   SELF.office, SELF.location
    18         FROM   dept
    19         WHERE  deptno = id;
    20         RETURN;
    21      END;
    22      CONSTRUCTOR FUNCTION emp_add(id NUMBER, office VARCHAR2,location VARCHAR2)
    23          RETURN SELF AS RESULT
    24      IS
    25      BEGIN
    26         SELF.office := office;
    27         SELF.location := location;
    28         RETURN;
    29      END;
    30  END;
    31  /
    Type body created.
    SQL> SELECT e.ename, e.d.office, e.d.location 
      2  FROM   ( SELECT ename
      3                 , (SELECT emp_add(emp.deptno) FROM dual ) d
      4           FROM   emp ) e
      5  /
    ENAME      D.OFFICE
    D.LOCATION
    SMITH      RESEARCH
    DALLAS
    ALLEN      SALES
    CHICAGO
    WARD       SALES
    CHICAGO
    ....Smoke me a kipper I'll be back before breakfast.
    Cheers, APC

  • Mapping and querying Custom Objects for a Contact with REST Api

    Hello All,
    We are hoping to get some details on managing DataCard set through REST APIs. Our implementation goal is to create Contacts and add Custom object for each Contact, or to be precise, add a DataCard Set for each Contact.
    At the moment, to associate a DataCard Set (or Custom Object) to an existing contact, we are supplying following custom object fields during creation of Custom Object:
    new CustomObjectField 
                                                                    name = "MappedEntityType",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "0"
                                                             new CustomObjectField
                                                                    name = "MappedEntityID",
                                                                    dataType = Enum.GetName(typeof(DataType), DataType.numeric),
                                                                    type = "CustomObjectField",
                                                                    defaultValue = "<ContactId>"
    Is this the correct approach? This is Based on the information provided here: http://topliners.eloqua.com/community/code_it/blog/2012/05/31/eloqua-api-how-to-mapping-a-data-card-to-an-entity.
    Would the REST API allow us to query the CustomObjects using the MappedEntityId value for later updates? If so, any pointers on how we approach that?
    Thanks in ad.

    Either the MappedEntityID field is not available or I do it wrong, Eloqua is ignoring the field and does not map the custom record with the unique Contact ID
    {"type":"CustomObjectData","ContactID":"8829509","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]},"MappedEntityID":"003J00000145lkBIAQ"}
    Response
    DEBUG|Response------{"type":"CustomObjectData","id":"81720","fieldValues":[{"id":"195","value":"[email protected]"},{"id":"220","value":"a0KJ000000387QvMAI"},{"id":"191","value":"001J000001OrL77IAF"},{"id":"193","value":"NowTV MPP"},{"id":"194","value":"8829509"},{"id":"196","value":"Andreas"},{"id":"197","value":"Wolf"},{"id":"198","value":"003J00000145lkBIAQ"},{"id":"210","value":"777666555"},{"id":"199","value":"gbp"},{"id":"200","value":"0"},{"id":"215","value":"0"},{"id":"201","value":"999111999"},{"id":"214","value":"111111"},{"id":"202","value":"222222"},{"id":"204","value":"now"},{"id":"203","value":"xmas"},{"id":"205","value":"no description"},{"id":"206","value":"test"},{"id":"218","value":"holidays"},{"id":"219","value":"PPV-0878545"},{"id":"213","value":"N"},{"id":"212","value":"myself"},{"id":"209","value":"now tv"},{"id":"192","value":"1417542120"},{"id":"207","value":"1417542120"},{"id":"216","value":"1417542240"},{"id":"217","value":"1417542240"},{"id":"211","value":"1417542240"}]}
    Eloqua:
    Name: PPV-0878545
    Unique Code: a0KJ000000387QvMAI
    Status Registered
    Created Date 12/22/2014 12:44:49 PM
    Mapped NO
    Any Idea how to map this to a contact
    Entity Type is Contacts
    Entity Field is SFDC Contact ID

  • How to query on object

    Hi, there
    I was doing something following the example on this link:
    http://www.solarmetric.com/Software/Documentation/3.4.0/docs/jdo_overview_query_advfilter.html
    the codes (simplified from original):
    PersistenceManager pm = ...;
    Company comp = ...;
    Query query = pm.newQuery (Magazine.class,
    "publisher == :pub");
    Collection mags = (Collection) query.execute (comp);
    Caused kodo to generate a select:
    SELECT .... FROM MagazineTBL t0, PublisherTBL t1 WHERE (t0.publisherID IS
    NULL) AND t0.publisherID = t1.publisherID(+)
    This of course does not work. Any ideas?

    Thomas,
    We're asking for the actual code as this should work (and does in our
    internal tests). Most likely there is some small error in how you are
    constructing and executing the query which is causing the odd behavior.
    If you are uncomfortable posting your code here, send us a complete
    compilable/runnable test case to [email protected]
    Thomas wrote:
    >
    Other than different "names". I pretty much have the exactly same codes.
    The idea is simple, straightforward. Magazine HAS A publisher so in
    Magazine table there is a column referencing to a row in the publisher
    table. In SQL, you join on the foreign key. I am just wondering if it's
    possible (it should be according to the docs) to join on the object in
    JDOQL. i.e. when querying for magazines: "piblisher =
    :aParticularPublisher".
    What already works for me is: "piblisher.ID = " +
    aParticularPublisher.getID()
    Which is fine. whatever works - just kind of dispointed that after all
    these big talks we just end up doing the same. It's embeding sql anyway.

Maybe you are looking for

  • Photo Gallery not opening

    << Branched from an old discussion about photo gallery not opening >> I had a similar problem, only it was because i was in the phone deleting files that i thought i didnt want. UGH! I think mine was due to facebook and not syncing. My gallery would

  • Movie audio through car stereo

    Does anyone have the Alpine car stereo accessory that allows you to hook up and play your iPod through your car stereo? My main question is does the audio of playing a video come through your car speakers.

  • Digital Signature - fild signer_name

    Hi, I am with the necessity to find a solution to find the field signer_name shown in transaction DSAL. Already I searched the table: BALHDR unsuccessfully!! I need to create a " Z program" where I can enter with following " importation parameters" :

  • Working off 3 junction tables...

    Greetings: My 3 dimensional skills are taxed with this query. I have 3 junction M2M tables- Bid to Code: junction_ID bid_ID cccode_ID Vendor to Code: ccjunction_ID cccategory_ID vendor_ID Vendor to bid (not used in this query) and one contact table,

  • Regarding BAPI function module for Tcode PPOME

    Hi All,      Is there any Bapi FM available for Tcode PPOME for creating or modifying the Position number..Because based on tat position number i hav to update the designation, Position and description............ Thanks Sai sudarshan