How can I add a text( In CRM 2007 called Note) to the current entity?

Dear Friends,
I want to add text type 'SU99' with text 'Hello World' to a CRM transaction, how to do this by BOL? Is there any example component for this issue?
Thanks and best regards,
Anders

Hello Anders,
here a piece of code where we add a text from type S002 to the Servicerequest:
lr_bt = lr_bt_adminh->get_related_entity( iv_relation_name = 'BTHeaderTextSet' ).
      lr_bt = lr_bt->create_related_entity( iv_relation_name = 'BTTextHAll' ).
      lr_bt->set_property( iv_attr_name = 'TDID'
                                iv_value = 'S002').
      lv_conc_lines = 'called Tel.'(003).
      CONCATENATE lv_conc_lines lv_phone_no into lv_text.
      lr_bt->set_property_as_string( iv_attr_name = 'CONC_LINES' iv_value = lv_text ).
      lr_core->modify( ).
I hope this helps.
Kind regards
Manfred

Similar Messages

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • How can I add location to a photo that does not have a gps location? On iPhoto it was easy.

    how can I add location to a photo that does not have a gps location? On iPhoto it was easy.

    You can use the Settings in the slideshow to Show Captions,  either the Description filed be display, the Title field or both.
    If you create the slideshow in iDVD from still photos from iPhoto you can add the Description and/or Title via the settings in iDVD.
    Since iDVD adds both automatically the user must go thru the slideshow and remove those items not wanted.

  • How can i reset settings of mozilla?i want to delete the current saved usernames and passwords of every sites?

    how can i reset settings of Mozilla?i want to delete the current saved user names and passwords of every sites..how can i do it???

    Hello Anonymous.
    Hopefully this support article is what you need:
    https://support.mozilla.com/en-US/kb/Remembering+passwords#Viewing_and_deleting_passwords

  • How can I reinstall my Deskjet F4180 if I do not have the install disk

    How can I reinstall my Deskjet F4180 if I do not have the install disk

    Jerry, welcome to the forum. Since you didn't mention which OS you are using, I provided the Software and drivers page for Win 8.1.  It provides the HP Deskjet F2100/F4100 All-in-One Printer series Full Feature Software and Driver.  This will install the printer.  If the OS is not correct, you can provide the correct one. Please click the "Thumbs up + button" if I have helped you and click "Accept as Solution" if your problem is solved.

  • How can I unlock my ipad 4 when I do not know the password

    How can I unlock my ipad 4 when I do not kow the password

    Recovery Mode:
    1. Turn off iPad
    2. Connect USB cable to computer; leave the other end alone
    3. Press and hold the Home button down and connect the docking end of cable to iPad
    4. Continue holding the Home button until you see the "Connect To iTune" screen
    5. Release the Home button
    6. Open iTune
    7. You should see "iTunes has detected an iPad in recovery mode"
    8. Use iTune to restore iPad
    Note: You need to be patient and repeat the above many times to recover your iPad

  • HT5312 How can i add a rescure email if i did not add one to begin with?

    So i forgot my security questions, i read the option about the resccue email.. how can i add one now becuase when i made this itunes account i never set a rescue email.

    Use the ExpressLane at https://expresslane.apple.com and the iTunes and iTunes Store for help.

  • How can I add a contact during a phone call

    some times during a phone call the one im taking with give me phone number and i dont have a paper to write down this number to save later, my question is how can I add a phone number during a phone conversation?
    please note that im using iphones with latest update iOS 7.1.2

    While on a call you can use the "add call" or "Contacts" buttons to get to the Contacts app.  You can then add a new contact or add or edit numbers in existing contacts.  (If the keypad is showing, press "hide" to see the other buttons.)  Press the green bar at the top of the screen to return to the phone screen.  If you are not using the headset, you can switch to speakerphone first, so you can talk while doing this.
    If you want to use another app while on the phone, press the home button, then choose the app.  It won't disconnect the call.  If you have a CDMA carrier (Sprint, Verizon) you won't be able to use cellular data while on a call.

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • If i have downloaded ( different ) apps in two iphones how can i add new apps in either of them without losing the older ones?

    i have two iphones 3g one at 4.1 and other at 3.1.3.....i have downloaded through itunes 30 apps in one and 55 different apps in other .......now how can i add 10 more apps in either of them without losing the previous apps .....if i don't have the previous apps downloaded now in my laptop..................?

    You can download the Apps on other devices by logging into the App Store with the ID you downloaded the App with

  • How can i add memory to my mid 2007 IMAC

    how can i add memory to my IMAC

    You can have up to 6GB of memory for that model.
    Many people on these forums speak well of the following memory suppliers.
    In North America contact OWC …        Upgrade Apple iMac Memory
    In Europe contact Crucial.com  …       RAM Memory Upgrade
    Both companies have facilities to guide you and will recommend the correct memory package to meet whatever needs you describe to them.  
    There may be benefits buying from whichever company has a branch in your own geographical location insofar as Shipping charges, Local sales taxes and Exchange rates.  Check out the basic memory costs and do your sums.
    Guide to required RAM.    Lookup Mac Specs By Serial Number, Order, Model & EMC Number, Model ID @ EveryMac.com

  • How can I add javascript text fields to Acrobat pages from Applescript please?

    I have a real need to add text fields to Acrobat document pages from Applescript. I can't access the Headers and Footers from Applescript in Acrobat XI. I can set watermarks using the following script, but cannot for the life of me work out how to add text fields. Any advice please?
    Regards
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDocument to document 1
      tell myDocument
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR)
      set Params to "cText: '" & cText & "'," & return
      set Params to Params & "cFont: '" & cFont & "'," & return
      set Params to Params & "nFontSize: '" & nFontSize & "'," & return
      if class of nS is integer then set Params to Params & "nStart: " & (nS - 1) & "," & return
      if class of nE is integer then set Params to Params & "nEnd: " & (nE - 1) & "," & return
      -- 0 = left, 1 = centre, 2 = right
      if class of nHA is integer then set Params to Params & "nHorizAlign: " & nHA & "," & return
      -- 3 = top, 4 = bottom
      if class of nVA is integer then set Params to Params & "nVertAlign: " & nVA & "," & return
      -- offset in points
      if class of nHV is integer then set Params to Params & "nHorizValue: " & nHV & "," & return
      -- offset in points
      if class of nVV is integer then set Params to Params & "nVertValue: " & nVV & "," & return
      if class of nR is integer then set Params to Params & "nRotation: " & nR & "," & return
      set javascript to "this.addWatermarkFromText({" & Params & "});"
      return javascript
    end Add_WaterMarkText

    G'day
    Unfortunately I don't have the API. My Adobe Reader installation updating to version XI failed, and subsequent attempts to fall back on the X version are blocked by the partial install of XI. Damn Adobe stuff.
    Could someone please post the relevant part of the API to give me some pointers, please.
    I ha mucked about with some information I found on the Web, and come up with the following, which fails because I can't work out how to address the current document with the variable myDoc.
    Regards, Brian
    set Params to Params & "var myDoc = this;" & return
    set TempAttachmentName to "(20140717121212Z)"
    set PreserveFileName to "This is a test"
    set bypass to false
    tell application "Adobe Acrobat Pro"
      activate
      set CountOfPages to count of pages
      repeat with PageCounter from 1 to 1 # CountOfPages
      tell application "System Events" to tell process "AdobeAcrobat"
      try
      click menu item "Page..." of menu 1 of menu item "Go To" of menu 1 of menu bar item "View" of menu bar 1
      tell current application to delay 0.1
      keystroke PageCounter as text
      tell current application to delay 0.1
      keystroke return
      if not bypass then
      my ADDHeaderFooter(TempAttachmentName, PreserveFileName & " " & CountOfPages, PageCounter)
      end if
      end try
      end tell
      end repeat
    end tell
    on ADDHeaderFooter(The_String1, The_String2, currentPage)
      tell application "Adobe Acrobat Pro"
      activate
      set myDoc to document 1
      tell myDoc
      tell page currentPage
      set cbox to crop box
      set item 2 of cbox to (item 2 of cbox) + 44
      set item 4 of cbox to (item 4 of cbox) - 44
      set media box to cbox
      set crop box to cbox
      set theResult1 to my Add_WaterMarkText(The_String1, "IDAutomationHC39M", 12, 1, 1, 1, 0, 3, 10, 3, 0, myDoc)
      do script theResult1
      set theResult2 to my Add_WaterMarkText(The_String2, "Times", 16, 1, 1, 1, 0, 4, 10, -6, 0, myDoc)
      do script theResult2
      end tell
      end tell
      end tell
    end ADDHeaderFooter
    on Add_WaterMarkText(cText, cFont, nFontSize, nS, nE, nTA, nHA, nVA, nHV, nVV, nR, myDoc2)
      #set Params to "var myDoc = app.newDoc();" & return
      set Params to ""
      set Params to Params & "var myDoc = this;" & return
      set Params to Params & "var inch = 72;" & return
      set Params to Params & "var Bbox = this.getPageBox(" & "\"Crop\"" & ");" & return
      set Params to Params & "var f = myDoc.addField(" & "\"Text1\"" & ", " & "\"" & cText & "\"" & ", 0, [72, Bbox[1]-inch, Bbox[2]-2*inch, Bbox[1]-2*inch ] );" & return
      set Params to Params & "f.strokecolor = color.black;" & return
      set Params to Params & "f.richText = true;" & return
      set javascript to Params
      return javascript
    end Add_WaterMarkText

  • How can I add a text substitution for changing st in 1st to superscript?

    I would like to add text substitutions for 1st, 2nd, 3rd, etc. so the letters show up as superscript. I attempted to change the st, nd & rd to superscript in Pages and tried to paste it, but it simply changed it back to regular format. How can I go about changing this?
    Thank you in advance for your help!

    It only works in TextEdit consistently for me. Mail forgets as soon as I sent the message. Pages doesn't even have an Edit > Substitutions menu, nor it is there anything in the inspector.
    So I use [Typinator|http://www.ergonis.com/products/typinator>, which works system-wide, no fuss, and it's more powerful than the built-in text substitution. Another alternative is [Text Expander|http://smilesoftware.com/TextExpander>.
    If the free trails and price still can't help you decide, see this [discussion|http://www.macheist.com/forums/viewtopic.php?id=13544] comparing the two.
    Edit: I eat my words. Getting Typinator to substitute superscript is tricker than I thought.
    Message was edited by: Sam_P

  • How can I add linked text boxes to Contents?

    I have a lot of sections in my chapters, and I think they are all coming in to the TOC, but the automatic text box doesn't have a blue tab, so I cannot add a new text box to continue showing the sections.  How can I make this show up? There's no layout I can manipulate for the TOC, so I cannot make the text editable, which is the suggestion that I have seen for regular linked text boxes.

    Hello,
    If you want to add image to it's background then you can select the SubMenu and use the fill option to fill an image to it.
    Make sure you uncheck "Edit together" option in Menu properties so that you can add different images to different submenus.
    And if you want to edit the text and add images to it, I would suggest you to use Manual menu. Where you can customize your own Menu and add links to the Menus and Submenus.
    Please have a look at the screenshot showing how to create Manual menu :
    Hope this helps.
    Regards,
    Sachin

  • How can I add scroll bars to a textarea and setfocus at the end of the box.

    I didn't see a scrollbar option so I was wondering how would I add one? Also how can I setfocus to the last line in the textarea?

    You have to create a JScrollPane that will enclose the TextArea as in new JScrollPane (yourTextArea).
    You can setFocus to any Component and you can position the caret in an TextArea.
    Regards
    SH

Maybe you are looking for

  • Newbie to Mac would like some guidedance

    I am a newbie, was a windows user for years but got tired of windows, anyway how do I copy my contact files from outlook to entourage address book? My old lap top have Windows XP out look

  • How can I center rollover buttons floating within the main frame?

    This is actually for GoLive, but I hope someone can help! My site used to auto-size and I just removed that annoying feature and used the Frame Inspector to Center the page. This worked for the boxes contained within the frame but NOT for the floatin

  • [SOLVED] Trying to get a fresh install of Arch to jump right into OBox

    As the title indicates, this is my goal. I do have some problems getting there: 1. When I boot the computer, it boots into a login screen (cli) for arch. 2. I have tried adding both startx and openbox-session to the .xinitrc (as described in the begi

  • Will formating hard drive fix mounting issue

    Tried to update OS X on my MacBook Pro and after reset the installation failed. I can now no longer run start up on my hard drive, nothing appears. I've tried to verify my hard drive which worked, but it cannot repair. The hard drive was unmounted in

  • Middle Button Click?/Open in new tab?

    Is there anyway to detect in flex when the user clicks a button using the middle mouse button? and if he does, open a new web page in a new tab (just like when you middle button click a link in html in firefox/ie and open in new tab)