Weird crmForms array returned in the Contact record

I have 2 CRM forms (Photo and History) attached to the contact. Both have only one field right now (will add more in the future). The structure in the contact record looks like this...
[crmForms] => stdClass Object
            [CrmForms] => Array
                    [0] => stdClass Object
                            [formId] => 141376
                            [formName] => Photo
                            [crmFormFields] => stdClass Object
                                    [CrmFormFields] => stdClass Object
                                            [fieldId] => 437621
                                            [fieldTypeId] => 8
                                            [fieldName] => Photo
                                            [fieldValue] =>
                    [1] => stdClass Object
                            [formId] => 144272
                            [formName] => History
                            [crmFormFields] => stdClass Object
                                    [CrmFormFields] => Array
                                            [0] => stdClass Object
                                                    [fieldId] => 437621
                                                    [fieldTypeId] => 8
                                                    [fieldName] => Photo
                                                    [fieldValue] =>
                                            [1] => stdClass Object
                                                    [fieldId] => 439623
                                                    [fieldTypeId] => 9
                                                    [fieldName] => Classes Taken
                                                    [fieldValue] =>
Why is the Photo field returned inside of the History form???

I have 2 CRM forms (Photo and History) attached to the contact. Both have only one field right now (will add more in the future). The structure in the contact record looks like this...
[crmForms] => stdClass Object
            [CrmForms] => Array
                    [0] => stdClass Object
                            [formId] => 141376
                            [formName] => Photo
                            [crmFormFields] => stdClass Object
                                    [CrmFormFields] => stdClass Object
                                            [fieldId] => 437621
                                            [fieldTypeId] => 8
                                            [fieldName] => Photo
                                            [fieldValue] =>
                    [1] => stdClass Object
                            [formId] => 144272
                            [formName] => History
                            [crmFormFields] => stdClass Object
                                    [CrmFormFields] => Array
                                            [0] => stdClass Object
                                                    [fieldId] => 437621
                                                    [fieldTypeId] => 8
                                                    [fieldName] => Photo
                                                    [fieldValue] =>
                                            [1] => stdClass Object
                                                    [fieldId] => 439623
                                                    [fieldTypeId] => 9
                                                    [fieldName] => Classes Taken
                                                    [fieldValue] =>
Why is the Photo field returned inside of the History form???

Similar Messages

  • Products Owned section of the Contact Record

    I just noticed the Products Owned section as an available section of the contact record. Does this section have an linkage to opportunities, so when an opportunity has a status of won, it will update the Products Owned section of the contact record?

    Hi David,
    The Revenue record (intersection of Opportunity and product) has a Fk to Account and Contact record.
    On opportunity closure this information will have to move to the order fulfillment system. On billing/shipping you can try and import the Products shipped / Assets data from the order fulfillment system and related them back to the Account & Contact records.
    In case there in installation process that is covered by Serevice Request of the SoD application it could be the place to manually associate contacts to the product/assets (that are imported by integration of manual cvs file imports).
    Prakash

  • How to return to the first record of a multiple row cursor (Forms 6i)

    Hi all,
    I had a bit of a search through here, but couldn't quite find the answer I'm after.
    I have a multiple row cursor, which I feed into a multi-row block in Forms 6i. I have the following code:
    OPEN CURSOR;
    LOOP
       FETCH CURSOR INTO :FIELD1, :FIELD2, :FIELD3, :FIELD4;
       ... do other code not related with cursor
       EXIT WHEN CURSOR%NOTFOUND;
       NEXT_RECORD;
    END LOOP;Now, I use the Forms built-in NEXT_RECORD to move down through the records on the form and fill in each row from the db. However, once the block loads (this works correctly), the current item (ie where the typing cursor is left) is on the last record.
    Obviously, I need the current item (after loading) to be on the first record. I tried using the Forms built-in FIRST_RECORD after the END LOOP command, but that gives me an ORA-06511 error (An attempt was made to open a cursor that was already open).
    Does anyone know how I might be able to return to the first record of the block correctly?
    Thanks in Advance,
    Chris.

    Ok, I feel like a bit of a dolt.
    I found that all cursors had to be closed before navigating back to the first record.
    Case closed! :)

  • [JNI Beginner] GC of Java arrays returned by the native code

    Hello all,
    I am beginning with JNI, to integrate a C library that pilots an industrial equipment, into a java UI. This library enables to exchange various proprietary PDUs (protocol data units), with the equipment, up and down (request/replies). Both requests and replies are arrays of bytes (+char*+).
    "Request" byte arrays are constructed by Java code, which passes them to the JNI code that glues with the lib. "Reply" byte arrays are returned to the Java code, which analyzes them.
    The "return reply" part is very similar to this [tutorial example|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.html] , which returns bytes read from a file. However there's something I don't understand with regard to garbage collection of the returned byte array:
    - in this stock example, the C code creates a Java byte array fills it, and simply returns it (example code stripped to highlight only the parts relevant to my question):
        jByteArray=(*env)->NewByteArray(env, size);
        (*env)->SetByteArrayRegion(env, jByteArray, 0, size, (jbyte *)sourceBytes);
        return (jByteArray);What will happen to this Java array (jByteArray) with regard to garbage collection?
    - if it's no more referenced (the example Java code just systemouts it and forgets it), will it be eligible to GC?
    - if it is referenced by a Java variable (in my case, I plan to keep a reference to several replies as the business logic requires to analyze several of them together), do regular Java language GC rules apply, and prevent eligibility of the array to GC as long as it's referenced?
    That may sound obvious, but what mixes me up is that the same tutorial describes memory issues in subsequent chapters: spécifically, the section on "passing arrays states that:
    [in the example] the array is returned to the calling Java language method, which in turn, garbage collects the reference to the array when it is no longer usedThis seems to answer "yes" to both my questions above :o) But it goes on:
    The array can be explicitly freed with the following call:
    {code} (*env)-> ReleaseByteArrayElements(env, jByteArray, (jbyte *)sourceBytes, 0);{code}Under what circumstances would one need to explicitly free jByteArray when it's about to be returned to the Java calling method? Or does this sentence apply to completely different situations (such as, when the array is +not+ returned as is to a Java method)?
    The tutorial's next section has a much-expected +memory issues+ paragraph, from which I quote:
    By default, JNI uses local references when creating objects inside a native method. This means when the method returns, the references are eligible to be garbage collected.I assume this means, +unless the references are assigned, in the Java code, to a Java variable+, right?
    If you want an object to persist across native method calls, use a global reference instead. A global reference is created from a local reference by calling NewGlobalReference on the the local reference.I assume this enables the C code to maintain a global reference to a java object even if it's not referenced anymore from the Java variables, right?
    I also checked the [JNI specification|http://download-llnw.oracle.com/javase/6/docs/technotes/guides/jni/spec/design.html#wp1242] , but this didn't clear the doubt completely:
    *Global and Local References*
    The JNI divides object references used by the native code into two categories: local and global references. Local references are valid for the duration of a native method call, and are automatically freed after the native method returns. Global references remain valid until they are explicitly freed.
    Objects are passed to native methods as local references. All Java objects returned by JNI functions are local references. The JNI allows the programmer to create global references from local references. JNI functions that expect Java objects accept both global and local references. A native method may return a local or global reference to the VM as its resultAgain I assume the intent is that Global references are meant for objects that have to survive across native calls, regardless of whether they are referenced by Java code. But what worries me is that combining both sentences end up in +All Java objects returned by JNI functions are local references (...) and are automatically freed after the native method returns.+.
    Could you clarify how to make sure that my Java byte arrays, be they allocated in C code, behave consistently with a Java array allocated in Java code (I'm familiar already with GC of "regular" Java objects)?
    Thanks in advance, and best regards,
    J.

    jduprez wrote:
    Hello all,
    I am beginning with JNI, to integrate a C library that pilots an industrial equipment, into a java UI. This library enables to exchange various proprietary PDUs (protocol data units), with the equipment, up and down (request/replies). Both requests and replies are arrays of bytes (+char*+).
    "Request" byte arrays are constructed by Java code, which passes them to the JNI code that glues with the lib. "Reply" byte arrays are returned to the Java code, which analyzes them.
    The "return reply" part is very similar to this [tutorial example|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/jniexamp.html] , which returns bytes read from a file. However there's something I don't understand with regard to garbage collection of the returned byte array:
    - in this stock example, the C code creates a Java byte array fills it, and simply returns it (example code stripped to highlight only the parts relevant to my question):
        jByteArray=(*env)->NewByteArray(env, size);
    (*env)->SetByteArrayRegion(env, jByteArray, 0, size, (jbyte *)sourceBytes);
    return (jByteArray);What will happen to this Java array (jByteArray) with regard to garbage collection?It will be collected when it is no longer referenced.
    The fact that you created it in jni doesn't change that.
    The array can be explicitly freed with the following call:
    (*env)-> ReleaseByteArrayElements(env, jByteArray, (jbyte *)sourceBytes, 0);Under what circumstances would one need to explicitly free jByteArray when it's about to be returned to the Java calling method? Or does this sentence apply to completely different situations (such as, when the array is not returned as is to a Java method)?
    Per what the tutorial says it is either poorly worded or just wrong.
    An array which has been properly initialized it a just a java object. Thus it can be freed like any other object.
    Per your original question that does not concern you because you return it.
    In terms of why you need to explicitly free local references.
    [http://download-llnw.oracle.com/javase/6/docs/technotes/guides/jni/spec/design.html#wp16785]
    The tutorial's next section has a much-expected memory issues paragraph, from which I quote:
    By default, JNI uses local references when creating objects inside a native method. This means when the method returns, the references are eligible to be garbage collected.I assume this means, unless the references are assigned, in the Java code, to a Java variable, right?As stated it is not precise.
    The created objects are tracked by the VM. When they are eligible to be collected they are.
    If you create a local reference and do NOTHING that creates an active reference elsewhere then when the executing thread returns to the VM then the local references are eligible to be collected.
    >
    If you want an object to persist across native method calls, use a global reference instead. A global reference is created from a local reference by calling NewGlobalReference on the the local reference.That is not precise. The scope is the executing thread. You can pass a local reference to another method without problem.
    I assume this enables the C code to maintain a global reference to a java object even if it's not referenced anymore from the Java variables, right?
    It enables access to it to be insured across multiple threads in terms of execution scope. Normally you should not use them.

  • BAPI/FM for creation of CONTACT RECORD for the contract account

    Hi All,
    I need to create a contact record for the a contract account.
    The contact record details will be maintained in the table BCONT.
    Let me know if there is a function module/BAPI/any othere way to create a contact record.
    Regards
    Shiva

    Hi,
    You can use the function module - BCONTACT_CREATE to create Contact record
    (or)
    make a BDC of the Tcode - BCT1(Contact creation) and use the same for creation of contacts in batch
    Note: Contact is created against Business Partner and not Contract Account. So you will have to include your logic of finding out the respective Business Partner for the Contract Account for which you need to create Contact record.
    regards
    Gagan

  • How to use the +, * or # sign in iPhone contact records

    I see only one reference to that button in the printed and on-line documentation, the button when you're creating a phone number in a Contact record, the button displaying those special symbols + * #. The only reference I've found is to press that button and then select "Pause" to enter a pause (displayed as comma) in the number. But you can also enter a "+" or "*" or "#" ... leading me to think they must be the equivalent of "Wait" etc. But it's not documented: can anyone tell me what those do?
    Thanks

    So, are you saying that those other symbols are ones I would only use if that outside service (office voice mail, some other service) required those symbols; that they don't actually give the iPhone itself an instruction (such as the "+" and "pause" do)?
    [The reason I'm asking is that I just switched over to the iPhone, previously having Verizon service, and with that service there were ways to enter the equivalent of Pause (where the phone would wait a few seconds per pause before sending the next number) or Wait, which would cause the phone to wait until I pressed "send" again, at which point it would send the next digits (useful for PINs and Passwords) ... ]
    But those were instructions in the Verizon phone to the Verizon phone ... I'm just looking for some official documentation on whether these symbols in the Contact record telephone numbers serve similar purposes, and, if so, which ...
    The + is clear now. I'm still hazy on the # and * ... and wondering if they're addressed anywhere in iPhone documentation. I couldn't find them.

  • ContactList_UpdateInsert will not update Contact Record

    I'm having trouble getting ContactList_UpdateInsert to work with Contact Records that have a username.
    1) First, I call Contact_RetrieveByEntityID('adminuser', 'password' , 1234, entity_id) to retrieve the contact record data for updating.
    cr = c.service.Contact_RetrieveByEntityID('adminuser', 'password' , 1234, entity_id)
    2) Then I modify some data, such as ExternalID
    cr.externalId = '123456'
    3) Calling ContactList_UpdateInsert returns an error:
    'Contact(s) saved in the system. Please review the list of error(s)/warning(s) found when processing the data.\n- Contact: John Doe | ERROR: The username [TestUser] cannot be assigned to contact with email [] as it is already used.'
    Manually adding the emailAddress field because it's not in the original cr record fixes that error.
    cr.emailAddress = '[email protected]'
    Calling again gives the error:
    Contact(s) saved in the system. Please review the list of error(s)/warning(s) found when processing the data.\n- Contact: John Doe | ERROR: The username [TestUser] cannot be assigned to contact with email [[email protected]] as it is already used.'
    It seems as though any time the contact record has a username assigned, I'm unable to update the record. What's the deal??
    EDIT: I thought I was posting this in the API section, but apparently not. Sorry.

    Okay I figured this out. When updating, you either have to supply externalId or emailAddress to match the record you want to change. If neither is supplied, or it doesn't match the supplied value, it adds a new record instead of update. So if you're trying to add an external id, you have to supply the emailAddress parameter as well, so it can match the record you want to change. I don't know if you can change the external id since it will try to match the external id before the email address.
    This is the explanation from the knowledgebase
    Please note that similarly to the import routine, you can utilize the External ID property to set a unique idenitifier value for each customer. If this value is present then customers are matched and updated accordingly. For example if every customer in your system has a member number, then assign that to the External ID property. If you do not utilize this property then the unique identifier used will be a customer's email address. If neither is provided then contacts are added and never updated as no unique identifier exists.
    I assumed that if you retrieve the record you want first (using Contact_RetrieveByEmailAddress), then make your changes and send it to ContactList_UpdateInsert, it should just update that record. But you have to set the emailAddress parameter.

  • How to auto-populate the Contact field from a Custom Object

    Hi,
    I am working on a project where the Contact record is the main focus. I have setup the Contact record as having a one-to-many relationship with CO4. From the Contact Details page I can click on the New button in the Related Record section for CO4 and the Contact from the Details page is auto-populated (which is what I want). I then enter the data into CO4 and click on Save so that the record is displayed in the Related Record section, and then I click into it so that I'm now on the CO4 Details page.
    My page layout for CO4 has both Activities and Service Requests as related records, and the page layouts for both of these include the CO4 field and the Contact field. When I click on New for either of these record types, the CO4 field is populated from the previous record but the Contact is not. I realize this is because there is a one-to-many relationship between CO4 and the Activity/SR, but is there any way to also pull over the value in the Contact field?
    I also tried this using CO1 which does have a many-to-many relationship (if I understand it correctly), but the Contact field is still not pulling over. Is there a way to make this happen?
    Thanks!

    This functionality is not available at this time. I would recommend that you submit a enhancement request to customer care.

  • Incoming calls are not finding contact records

    I just upgraded phones from a 3GS to a 4S. The contact records transferred over and call history did as well.
    But the call history and incoming calls only show the number, they do not show the contact information. In the contact record, the phone numbers are missing the phone formatting, the () around the area code, etc.
    I tried opening the record and saving it to see if it would add the formatting. It didn't. I really don't want to type in each phone number again.
    Any ideas?
    Thanks in advance

    Hi Andy,
    I just resolved this problem and I think I have the fix for you. First, when you upgraded from the 3GS to the 4S, did you switch carriers (from AT&T to Verizon for example)? I did and had the same problem you are experiencing. Here is the fix:
    1. If you are using Verizon, open the Phone app and dial *228. You will be connected with Verizon's programming system. When prompted, press "1" for "Program or Activate Your Phone".
    2. You will have to wait listening to music while the system upgrades your programming. Wait until the system says something like "Your settings or programming have been updated". Then disconnect the call.
    3. Open the iPhone Task Manager (double tap the "Home" button). Make sure that you see the Message, Phone and Contact applications. If you don't see one of those apps, go back and open them in the main menu screen.
    4. In the Task Manager, press your finger on one of those three apps (Contacts, Phone, Messages) until all the apps start to jiggle. Delete the Messages, Contacts and Phone apps (don't worry, they are still on your phone).
    5. Wait about three minutes, then go back to the Main Menu screen and open the Messages app. Everything should be fine. As it will be in the Contacts app.
    That's it! Worked for me. Hope for the same with you.
    Stefan

  • Web Services Activity Insert problem with linking to child contact records

    Hi - I am trying to use WS 2.0 to insert a new activity and link it to a list of contacts. I have converted this from WS 1.0. It works fine without the contact linking code but fails with the following message when linking to the contact records...
    Update operation on integration component 'Activity' failed because no matching record in business component 'Action' with search specification '[Description] = "Test2"' could be found.(SBL-EAI-04403)
    Here is a simplified version of the code in question...
    activity2.Activity act = new activity2.Activity();
    act.Url = cs.crmSessionUrl;
    activity2.ActivityInsert_Input input = new activity2.ActivityInsert_Input();
    input.ListOfActivity = new activity2.ListOfActivityData();
    input.ListOfActivity.Activity = new activity2.ActivityData[1];
    input.ListOfActivity.Activity[0] = new activity2.ActivityData();
    input.ListOfActivity.Activity[0].Subject = "Test2";
    input.ListOfActivity.Activity[0].Activity = "Task";
    input.ListOfActivity.Activity[0].Status = "Completed";
    input.ListOfActivity.Activity[0].Type = "Email";
    input.ListOfActivity.Activity[0].DueDate = DateTime.Parse( DateTime.Now.ToString("M/d/yyyy HH:mm:ss"));
    input.ListOfActivity.Activity[0].AccountId = "AEGA-BGV8Z9";
    input.ListOfActivity.Activity[0].ListOfContact = new activity2.ListOfContactData();
    input.ListOfActivity.Activity[0].ListOfContact.Contact = new activity2.ContactData[1];
    input.ListOfActivity.Activity[0].ListOfContact.Contact[0] = new activity2.ContactData();
    input.ListOfActivity.Activity[0].ListOfContact.Contact[0].Id = "AEGA-CCMEWM";
    activity2.ActivityInsert_Output output = act.ActivityInsert(input);
    Any suggestions would be great!

    Try using execute instead.
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:ns="urn:crmondemand/ws/ecbs/activity/10/2004"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
    xmlns:data="urn:/crmondemand/xml/Activity/Data">
    <soapenv:Header>
    <wsse:Security>
    <wsse:UsernameToken>
    <wsse:Username>yourusername</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">yourpassword</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soapenv:Header>
    <soapenv:Body>
    <ns:ActivityExecute_Input>
    <data:ListOfActivity lastpage="?" recordcount="?">
    <data:Activity operation="insert">
    <Subject>Test7</Subject>
    <AccountId>AALA-5KC0OV</AccountId>
    <Type>Email</Type>
    <Status>Completed</Status>
    <Activity>Task</Activity>
    <data:ListOfContact>
    <data:Contact >
    <data:Id>AALA-5851K0</data:Id>
    </data:Contact>
    </data:ListOfContact>
    </data:Activity>
    </data:ListOfActivity>
    </ns:ActivityExecute_Input>
    </soapenv:Body>
    </soapenv:Envelope>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns:ActivityExecute_Output xmlns:ns="urn:crmondemand/ws/ecbs/activity/10/2004">
    <ListOfActivity xmlns="urn:/crmondemand/xml/Activity/Data">
    <Activity>
    <ModifiedDate>2012-06-07T01:00:09Z</ModifiedDate>
    <CreatedDate>2012-06-07T01:00:09Z</CreatedDate>
    <ModifiedById>AALA-583LBZ</ModifiedById>
    <CreatedById>AALA-583LBZ</CreatedById>
    <ModId>1</ModId>
    <Id>AALA-5TG95O</Id>
    <CreatedBy>Web Services Administrator, 06/06/2012 18:00:09</CreatedBy>
    <ModifiedBy>Web Services Administrator, 06/06/2012 18:00:09</ModifiedBy>
    <ListOfContact>
    <Contact>
    <ModifiedDate>2012-03-19T20:19:55Z</ModifiedDate>
    <CreatedDate>2012-03-05T21:43:14Z</CreatedDate>
    <ModifiedById>AALA-583LBZ</ModifiedById>
    <CreatedById>AALA-583LBZ</CreatedById>
    <ModId>79</ModId>
    <Id>AALA-5851K0</Id>
    <CreatedBy>Web Services Administrator, 03/05/2012 13:43:14</CreatedBy>
    <ModifiedBy>Web Services Administrator, 03/05/2012 13:43:14</ModifiedBy>
    </Contact>
    </ListOfContact>
    </Activity>
    </ListOfActivity>
    </ns:ActivityExecute_Output>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Contact record not pupulated when Task created using Workflow.

    Hi All
    I am using workflow to create Tasks when new Serivce Records have been created. When the Service Record is created and the Contact field is linked to a Contact record, the Contact does not carry through to the Task record created by the workflow. I have noticed that when I add the Task manually to the SR that the Contact record does carry through so is there something I need to add to my workflow?
    Thanks Gail

    Hi Mani
    I have an SR raised for this already SR 3-162376211, should I close this? Do you have a reference number or something for me to reference this issue/enhancement request with in the future?
    Thanks Gail

  • Return all the values into cursor

    I want to return collection of varray using sys_refcursor. but it is returning only last record. I am wondering how I can return all the four records into result sys_refcursor.
    The following is not returning all the four records under SP.
    resultData OUT sys_refcursor
    for i in 1..4
    loop
    OPEN result FOR
    Select sdo_util.to_wkbgeometry
    (sdo_geometry(2002, 2958, Null,
    Mdsys.Sdo_Elem_Info_Array(1,2,1),
    arr_result123(i)
    )) as geometry
    FROM dual c;
    end loop;
    Thanks
    Al

    I have removed the for loop but no luck. I am posting my whole procedure.
    Can you please let me know what i am missing!..........urgent please.
    PROCEDURE SP_Lines
    mlatlon IN Varchar2,
    resultData OUT sys_refcursor
    ) As
    plat Varchar2(256);
    plon Varchar2(256);
    lPosition number;
    lcounter number;
    newlat number;
    newlon number;
    -- to draw lines
    geometry1 mdsys.sdo_geometry;
    geometry2 mdsys.sdo_geometry;
    begin
    Begin
    arr_result123 := arr_result(
    mdsys.sdo_ordinate_array(-79.7198833241796,43.7437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.618833241796,43.5437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.4198833241796,43.3437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.1198833241796,43.1437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.0198833241796,43.0437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.7198833241796,43.007243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.7198833241796,43.7437243394591,-79.7170360355377,43.7503404513126),
    mdsys.sdo_ordinate_array(-79.7198833241796,43.7437243394591,-79.7170360355377,43.7503404513126) );
    lPosition := Instr(mlatlon, '_');
    plat := Substr(mlatlon, 1, lPosition-1);
    plon := Substr(mlatlon, lPosition+1, length(mlatlon) );
    lcounter :=1;
    --get 4 nearest points
    for rec in (
    Select sdo_cs.transform(c.geometry,4326) as geometry
    FROM Ac c
    where SDO_NN(c.GEOMETRY,
    (sdo_geometry(2001, 4326, sdo_point_type(plon, plat, null), null, null) )
    , 'sdo_batch_size =5')='TRUE'
    AND ROWNUM <= 4
    loop
    newlat := get_ordinate(rec.geometry, 2);
    newlon := get_ordinate(rec.geometry, 1);
    -- ~~ building geometries ~~
    geometry1 := sdo_geometry(2002, 4326, sdo_point_type(newlon, newlat, null), null, null);
    geometry2 := sdo_geometry(2002, 4326, sdo_point_type(plon, plat, null), null, null);
    arr_result123(lcounter) := GET_LINE_ORDINATE(geometry1, geometry2);
    lcounter:=lcounter+1;
    end loop;
    end if;
    lcounter:=1;
    OPEN resultData FOR
    Select sdo_util.to_wkbgeometry
    (sdo_geometry(2002, 2958, Null,
    Mdsys.Sdo_Elem_Info_Array(1,2,1),
    arr_result123(lcounter)
    )) as geometry
    FROM dual c, (select level lcounter from dual connect by level <=2);
    END;
    end SP_Lines;

  • IPad 2 has no contact record fields

    iPad 2 running iOS5 syncing to iCloud.
    My Address Book has ll the contact records I expect to see however none of the records have any populated fields, the "fields page" is blank. The Address Book on my iMac, iPhone and in iCloud are full and complete.
    I have removed and re-added my iCloud account to the iPad and it has made no difference.
    Any advice please?

    Fixed....... create a new contact on the iPad..... that's a bug for Apple to fix!

  • Urgent : Need help to open the contacts / Returns screen from ICWeb Client

    Hi Gurus,
    I have no much information on PCUI. I need your help to the following:
    1--> To open the Contacts / Returns PCUI screen from ICWeb client. (which object to be used)
    2--> Pass the confirmed BP to the newly opened window.
    Please give me your valuable inputs.
    Hoping for the best and the earliest.
    Regards,
    Raju
    Edited by: reg raju on Apr 22, 2008 3:36 PM

    Hi Gurus,
    I have no much information on PCUI. I need your help to the following:
    1--> To open the Contacts / Returns PCUI screen from ICWeb client. (which object to be used)
    2--> Pass the confirmed BP to the newly opened window.
    Please give me your valuable inputs.
    Hoping for the best and the earliest.
    Regards,
    Raju
    Edited by: reg raju on Apr 22, 2008 3:36 PM

  • Is there a way for the Yosemite maps app to add address to an existing contact (in contacts app) instead of creating new contact record with blank name (not useful)?

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

    I was using the maps app in yosemite to look up an address, once I was able to verify the address, I wanted to add that address to an existing contact record in the contacts app.  When I clicked on the option to add address to contacts, it unfortunately creates a new record with the address in it, however, the rest of the contact is blank. 
    My question is: is there a way to prompt the user (me), to select whether they want to create a new contact or add it to an existing contact?
    Thanks in advance for your help!
    Regards,
    Peter

Maybe you are looking for

  • Urgent : help on gui_download

    hi guys, i am using gui_download to download file to a excel i have given field seperator as " "  empty. and the file type as asc. iwhen i download the file i am getting all the field clubbed into the excel in the first field only .also the output is

  • Media player for my website....

    Hello all, We need a media player according to the following specifications: 1. Our media player will function as a pop-up, and play as long as surfer is browsing our site. 2. Our media player will include a dynamic playlist functionality. The key fe

  • Service Procurement in EBP

    Hi, In extended classic scenario SRM 4.0 / R/3 ECC5.0 for Service Procurement :- 1.I have replicated Services from R/3 backend and Service Product Cat is also maintained in all place in IMG and as well in Org plan. But when user is creating shopping

  • Build error in BPM

    Hi Everyone,    I have been developing  DC in BPM.I have been following the BPM  tutorial SAP NetWeaver Business Process Management Resource Center  . Version : SAP NetWeaver 7.2 SP03 While deploying the DC i am getting the following error: Error:  "

  • About Chart types in IChart

    hai, Can some one plz explain me what is the need of going for Group Bar,Pie, Regression , Coustom Charts in IChart and im trying to plot Custom chart type with Tag Query values but iam not getting that chart with the TagValues plz can u tell with wh