CRM2007 Factsheet - updating custom fields at the same time

I need to change our Factsheet in CRM2007. So far, I've managed to get a new view on the Factsheet and have managed to hard-code some data into it from the Get_* method for the field in the CN** class.
However, my requirement is to grab some data from ECC6 and populate a number of fields in the same view at the same time. I'm ok with grabbing the data but I'm not sure where to do this to populate all my fields. Can anyone offer some advice please ?
thanks.

Hi Malcolm,
You can write a code similar to this in any method of the IMPL Class liek DO_INIT_CONTEXT or DO_PREPARE_OUTPUT
or EH_ONENTER based on your reqirement. Replace the Context Node Name and Attribute Names with yours.
DATA:lr_xxx                  TYPE REF TO if_bol_bo_property_access,
            lv_customer_type   TYPE string.
* Get the First Entity
  lr_xxx ?= me->typed_context->CONTEXT NODE NAME->collection_wrapper->get_first( ).
  IF lr_xxx IS BOUND.
*     Get the Vlaue in Attribute Customer Type
      lv_customer_type = lr_xxx->get_property_as_string( iv_attr_name = 'CUSTOMER_TYPE' ).
ENDIF.
To set the values, do this way...
lr_xxx->set_property( iv_attr_name = 'Z_CUSTOMER_TYPE'
                                         iv_value     = lv_customer_type+0(2) ).
Regards,
Masood Imrani S.

Similar Messages

  • Custom Field in the Administrative Time/personal task of the timesheet

    Dear All,
    I want to add the custom field in the administrative time/personal task of the timesheet. How can i do that??
    Snapshot is attached for furthur reference.
    REGARDS DANISH DANIE

    You can not create custom field for Personal task or administrative task (OOB).
    Project server allows us to create Project, Task, Resource, level task.
    You can only Specify Line of classification and New Administrative Time category.
    Choose that while creating Personal task or administrative task.
    But if you really want to customize the from then please go thorugh thread which is talking about the same 
    http://social.msdn.microsoft.com/Forums/office/en-US/a5b1eadd-c06e-43b0-8d5e-8e6f714cc689/customizing-add-new-task-form-for-adding-a-personal-task
    kirtesh

  • Updating two tables at the same time

    Please,
    Does someone have an idea on how to update two tables at the same times?
    Thanks a lot in advance

    I was thinking about a single session and single update command.
    That's why I thougth someone else could have a clue.
    Thank you

  • Custom fields with the same name in Project Online

    Today I discovered something interesting when creating custom fields in Project Online.
    I usually create a certain set of custom fields that are useful to have on both the project and the task level. An example of these is Reportable, which I use to determine which tasks to roll up into reports and also which projects overall to report on.
    So I created a project level custom field called Reportable. No problem.
    I then created a custom field on the task level called Reportable. And the computer said no!
    I then learned that although you could do this in Project Server 2013, you can't in Project Online. You can't have duplicate custom field names, even if they are of different types.
    This has led me to use a naming standard, such as Reportable Task and Reportable Project. But I really don't like that as codes are for computers, not us humans. So I hope this changes in the future, but for now you just need to think about how you approach
    the fields.
    Good luck!
    Ryan Darby
    National Manager PMO
    www.ipmo.com.au
    www.projectonline.com.au

    Hi Ryan,
    I would follow Ben on this..
    Just made a test on a Project 2013 instance on-premise and I cannot create a task ECF and a project ECF with the same name. The same test on a Online instance returns the same result: the ECF names must be unique whatever the entity is.
    Waiting for Ben's confirmation.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • Upload images & database fields at the same time

    ASP VSBasic dreamweaver 8
    I can browse & upload 2 images to the server using
    aspupload (browse to
    images click upload)
    I can populate the MYSQL database using text fields &
    recordset (enter data
    in fields press save to upload)
    I now need to work out the following on one button click
    Browse & select first image
    Browse and select second image
    Pass the image paths to 2 text fields
    upload the images
    update the database
    I end up with 2 images saved eg (C:\temp\image1.jpg &
    C:\temp\image1.jpg)
    A record in the data base with
    Time
    Date
    "Path to image 1"
    "Path to image 2"
    The reason for the above is to keep the end user interface as
    simple as
    possible therefore the risk of them sending the wrong data is
    reduced
    Cheers
    SteveW

    I'm not sure uploading several files at once is possible. I have yet to see anything like that.

  • My ipad was in the process of updating (ios7) while at the same time syncing with my laptop.  suddenly the screen turned black and after few seconds the new itune icon  appeared on the screen.  the same icon appears even after i reset it.

    I was updating my ipad (ios7) while syncing with my laptop.  suddenly the screen turned black and seconds later a huge itunes icon appeared on the screen.  the same icon appears and not the usual interface even after resetting it several times. 
    please explain whta's happening.
    thank you

    See Unable to Update or Restore  >   http://support.apple.com/kb/ht4097
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    Once you have Recovered your Device...
    Re-Sync your Content or Restore from the most Recent Backup...
    Restore from Backup
    http://support.apple.com/kb/ht1766

  • How to update two tables at the same time using jdbc

    Plz will anybody tell me what is the code or query in jdbc by which you insert entry in one table and simultaneously it goes in another table?
    Thanks in advance

    You might be
    able to design a trigger to do what you're talking
    about, but that would be a database thing, not a java
    thingAnother option would be an updatable view (google for usage), but it has limitations and should be used with caution. And yes, its a database thinggy and not java.
    cheers,
    ram.

  • Problem when doing update and commit at the same time...

    I want to "fusion" the update and commit event... I thought that if I added a jbo:Commit at the end of the update event,
    it would work. But, I get back an error message when running, and since this time, I can throw my project to trash:
    even if I get back to the previous version of my project ( the one that used to work ), I still have the message. The only
    solution for me is to shut down Jdeveloper, send to trashbin the project and to get back it from a saved backup...
    Has someone a way to fix it, please ?
    Regards,
    David

    Hi David,
    Could you please provide more details:
    1. What error message do you receive when running? Can you provide a stacktrace?
    2. What does the corrupt JSP page look like? Can you include the source for the page in your post?
    3. What error message(s) does the IDE provide when you try to reopen the project?
    Thanks,
    JR

  • How to mask and format an input field at the same time?

    Dear Experts,
    I need to have an input field, which has the following behavior:
    1. The input field accepts only number, i.e. characters other than number are ignored (not displayed on the text field).
    2. The number is automatically formatted to ###,###,### as the user enter the number.
    Example as the user enter 1-2-3-4-5-6-7, the sequence of number displayed in the text field is:
    1
    12
    123
    1,234
    12,345
    123,456
    1,234,567
    I have done the following:
    import java.awt.*;
    import javax.swing.*;
    import java.text.*;
    import javax.swing.text.*;
    class FormattedTFDemo {
         NumberFormat cf;
         JLabel jlab;
         JFormattedTextField jftfSalary;
         JFormattedTextField jftfEmpID;
         JButton jbtnShow;
         public FormattedTFDemo() {
              JFrame jfrm = new JFrame("JFormattedTextField");
              jfrm.getContentPane().setLayout(new FlowLayout());
              jfrm.setSize(240, 270);
              jfrm.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              try {
                   MaskFormatter mf = new MaskFormatter("###,###,###");
                   jftfEmpID = new JFormattedTextField(mf);
              } catch (ParseException exc){
                   System.out.println("Invalid Format");
                   return;
              jftfEmpID.setColumns(15);
              cf = new DecimalFormat("###,###,###");
              jftfSalary = new JFormattedTextField(cf);
              jftfSalary.setColumns(15);
              jftfSalary.setValue(new Integer(7000));
              jfrm.getContentPane().add(new JLabel("First field"));
              jfrm.getContentPane().add(jftfEmpID);
              jfrm.getContentPane().add(new JLabel("Second field"));
              jfrm.getContentPane().add(jftfSalary);
              jfrm.setVisible(true);
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new FormattedTFDemo();
    }The "First field" adopts no. 1 behavior, i.e. it does not allow any character other than numbers, but the "," are always displayed and the number displayed as I enter 1-2-3-4-5-6-7 are:
    1 , ,
    12 , ,
    123, ,
    123,4 ,
    123,45 ,
    123,456,
    123,456,7
    which is not according to behavior no. 2
    The "Second field" displayed 1,234,567 only after the focus left the text field and not while typing. Moreover, characters other than number can still be displayed and only rejected after the focus left the text field.
    I need a guide of what text field and what filter / format / mask I should use. Am I correct to use JFormattedTextField? Is the only way to accomplish this by using JTextField and create my own PlainDocument for the textfield, where
    I rebuild the displayed output after each character is entered?
    Thanks for any advice,
    Patrick

    So exactly what do you want the user to put in? and what do you want to see?
    I need to have an input field, which has the following behavior:
    1. The input field accepts only number, i.e. characters other than number are ignored (not displayed on the text field).
    2. The number is automatically formatted to ###,###,### as the user enter the number.
    Example as the user enter 1-2-3-4-5-6-7, the sequence of number displayed in the text field is:
    1
    12
    123
    1,234
    12,345
    123,456
    1,234,567The user should type only numbers and when he types other than numbers, the field ignore it.
    What I want to see, as the user, for example, types 1-2-3-4-5-t-6-7 is:
    1
    12
    123
    1,234
    12,345
    <beep / ignore> (because t is invalid)
    123,456
    1,234,567
    Thus, I need a guide of what swing components should I use to accomplish this task. If you can give me the code, that will be perfect.
    Hope you can advise me,
    Patrick

  • TS1702 Has anyone else had this problem? Been waiting for 2 days for an app from apple store to install on my iPad. It just keeps saying "installing" have tried to update other apps at the same time and that happens is the app icons continue to display "w

    I have been waiting for two days for an app to install on my iPad. Seems like something is stuck as it just keeps displaying "installing". Can not see where I can delete and start over and it's preventing me from updating or downloading any more games. Acts like a corrupt file or something. Can anyone help solve this problem? Thanks

    Did anyone ever suggest you reset your PRAM?
    http://docs.info.apple.com/article.html?artnum=2238
    Also might want to try resetting the SMC, although I
    doubt there's an issue there.
    http://docs.info.apple.com/article.html?artnum=304123
    I'm getting tired of people who supposedly know what
    they're doing simply guessing that resinstalling the
    OS might solve the issue. It's like trying to dissect
    a frog with a sledge hammer, and wondering why you
    didn't learn anything about anatomy in the process.
    These sorts of things, although bizarre, should be
    (and probably are) fixable without major surgery.
    Thanks for the suggestion... but I think my first question would be why these parameters would need re-setting? This is a new machine... It has never been shut down hard. It is used at most 10 hours per week... mostly using Office 2004 for MAC. I need to figure this out as I will soon need it as a Cs2/CS3 - Aperture workhorse.
    I too agree that it is best not to use a sledge when a scalpel is needed... but as a novice to the MAC world I may have been misled by Apple support. I seems to have fixed the symptoms ( some) but appears NOT to have addressed the cause... which is what I am after.
    Would TechTool Pro detect a bad HD or RAM?
    Thanks....

  • Changing Properties of Existing Form Fields at the Same Time

    Hi,
    I am trying to turn a paper application that has been scanned into a PDF format into a digital document that applicants can fill out on their computer. The application is 71 pages long and I have completed 3/4 of it. I probably have over 1000 text boxes that I need to change the properties on. I am trying to change the text size to auto on all of them, but I would hate to have to go through and do this one at a time. Is there a way to change the properties on all existing text boxes at once?
    I have already changed the default properties for the text boxes so that any new textboxes I create will have the proper settings.
    Thanks,
    Ravyn

    Oh, it worked! Thank you so much! You have probably saved me at least 5 hours of work!
    As innapropriate as this may be, if you were here in person I would hug you lol.
    I have 3 other co-workers who are working on this same type of project, I am going to spread the word. : D

  • Updating 2 computers at the same time

    My MacBook is running Leopard and my desktop is running Tiger. I'd like to upgrade both to Snow Leopard. What is the most efficient/cost effective way to do this?

    A bootable clone is an exact copy of your system disk which is capable of booting your Mac. In order to create one you need to use either Carbon Copy Cloner or SuperDuper. Once you have created one to be sure it was done correctly, you boot from the clone. If it boot you are ready to proceed.
    Once you have a bootable clone, no matter what goes wrong recovery to a running system is simply a boot from the clone. Have one when I am undertaking a large system project always gives me warm fuzzy feeling know I can recover so quickly,
    |___________________
    Allan

  • I was importing photos from my iphone to iphoto and updating the phone software at the same time, when the update completed the photos were gone from the phone and iphoto said the photos were not imported for unexpected reason.

    if anyone can help me with this i would be so greatful, my son is one month old and my wife is heart broken the first month of his life has disappeared from her phone.

    I would post in the iPhone forum. While iPhoto was importing basically this is an iPhone question
    And in the future you probably never want to update and import at the same time. Basically nothing good can come from that
    LN

  • Peer-to-Peer Transactional Replication (three or more participating databases): What if all the nodes are working at the same time

    In the topologies that have three or more participating databases.
    What if all nodes are working at the same time? "The topology is not partitioned by time.".
    location 1 will do insert/update/delete/read in the same time location 2 also will do insert/update/delete/read  .......
    **Data that will be added by each location is different(each location has its own primary key ranges).
    Is it recomended to use Peer-to-Peer Transactional Replication in such scinarios?

    Read these
    https://msdn.microsoft.com/en-us/library/ms151196.aspx
    http://www.brentozar.com/archive/2012/01/highly-available-local-replication/
    The only problem that you have to tackle is what happens when the same data is being updated in multiple locations at the same time. If that is not a possibility with you then p2p is a good choice. Check the above links you will have a better understanding.
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. W

    Trying to update creative cloud, comes error: The installation program could not access the important files / directories. Try to run the installer again. (Error code: 43), please contact customer support. The same error comes updating Muse. Mac 10.9.5. What shall I do?

    Alauda_positos I would recommend reviewing your installation log files to determine the exact directory which the installer is unable to access.  You can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html.  You are welcome to post any specific errors discovered to this discussion.
    For information on how to adjust file permissions please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html.

Maybe you are looking for

  • Autometic planning security refresh is not refreshing the security filters

    Hi Friends, We are using Hyperion planning system 9.3.1. While refreshing the planning security through automated script its not getting refreshed the security filters. In log its showing filter refreshed successfully but actually it's not refreshing

  • Command line parameters...

    I want to run my report from a Java application... Does anyone know how, or if it's possible to have a the report go both to a .PDF file and to the screen so the user can see the reoport they just generated, and also can I pass in the destination fil

  • Htmlb:fileUpload = page connot be displayed

    I just tried to use a this item: <htmlb:fileUpload id="att_upload" size = "50" /> However, as soon as I instert that item into my BSP page and try to start it (F8), i get an "page connot be displayed" error in the browser. does anybody know how to us

  • Write PL/SQL query from SSRS 2008

    Hello, I've need of writing the following statement as query or procedure within SSRS 2008(SQL Server Reporting Services 2008) to query Oracle data. IF :PARAMETER1 = 1 SELECT A1,B1,C1 FROM TABLE1 INNER JOIN TABLE2 ON TABLE2.X = TABLE1.X INNER JOIN TA

  • Multiple Waveform Graphs

    Dear group, I have a user panel that contains three waveform graphs in which only one graph is visible to the user. All three graphs plot the contents of the same one dimensional array; although only one graph is being displayed all three graphs cont