Picklist Values - a question.

Hi,
We got a list of values from business to be entered in a Picklist field. Later our business changed their mind and gave us a different list.
1) Is there is a way to delete the unwanted picklist values? It appears to me that the only option is to disable those values that are not needed anymore, is that correct?
2) If I overwrite a picklist value by entering new values in the "Edit Picklist" window, it doesn't overwrite the "Id" field. Will this have any adverse impacts if we just overwrite the existing picklist values as it doesnt change the old values in the Id field?
Appreciate your inputs.
Thanks,
Sriram

Bhavin, I do not have sample java code to send you. If you go to the Admin side of On Demand and then click on Web Services Administration you will see a button called "Download Documentation". This document shows sample code written in both C# and Java.

Similar Messages

  • Read picklist values in narrative reports

    hi
    In narrative report i'm using one picklist field and one currency field.
    Reports i created is dynamic report and it works fine for different SR.
    the report should hold the value chosen in picklist.Unfortunately it always populates the same value i.e value chosen first(i.e not updating proprely whenever i edit the picklist )
    i.e picklist value remains static always doesn't change on user selection in reports
    How to solve this.

    I have this same question. I note that the Custom Object uses, for instance, 03_09 to refer to the 9th item on the picklist for Custom Object 3 instead of the actual name of the field. This causes problems when items get added/removed to the picklist and the field becomes, say, 03_08. Do I have to edit the report every time the picklist changes?

  • Picklist ID appearing in reports, instead of Picklist Value

    I have changed a Picklist Value for a Product Sales Stage field setup by one word so that the original "Bought" remains in the Picklist Id and the Picklist Value was changed to replace Bought with "Quoted".
    When I run a report on the the Product Sales Stage, the field in the Report displays with the original "Bought", even though the field on the Product Revenue page contains "Quoted".
    Can anyone advise on overcoming this so that the report also displays this field with Quoted in the wording, as per the record?
    Robyn

    Robyn,
    I think reporting uses the ID so you can either disable it and create a new value or write a CASE WHEN statement:
    CASE WHEN "FieldName" = 'Brought' THEN 'Quoted' ELSE "FieldName" END
    regards
    Alex

  • Lifecycle Picklist values not showing up

    Hello,
    We are on CRM 7.0. Lifecycle stages ( BP Role Exclusion group values ) are not being displayed in the picklist.
    Method : GETV_PARTNERROLE in BP_HEAD/Lifecycle view_
    IF ls_attributes-partnerrole IS INITIAL.
        TRY.
            lr_cuco ?= owner->get_custom_controller( 'BP_HEAD/Lifecycle' ).
          CATCH cx_root.
            RETURN.
        ENDTRY.
        lr_current ?= lr_cuco->typed_context->lifecycle->collection_wrapper->get_current( ).
    IF lr_current IS BOUND.
    lv_excl_group_ui = lr_current->get_property_as_string( iv_attr_name = 'EXCLUSIONGROUP')
          lv_excl_group = lv_excl_group_ui.
          lv_isinitialstage = lr_current->get_property_as_string( iv_attr_name = 'ISINITIALSTAGE' ).
          IF lv_isinitialstage = abap_true.
            lv_stage = lr_current->get_property_as_string( iv_attr_name = 'STAGE' ).
    *       note initial stage. If the current stage has been set to INITIAL in DDLB before
    *       the account is saved, the DDLB-content needs to be filled for the initial stage and
    *       NOT for the current r.-exclusion group
    *       -> note only if defaulted stage shall be considered as initial stage
            gv_stage_note = lv_stage.
          ELSEIF NOT gv_stage_note IS INITIAL.
            lv_stage = gv_stage_note.
          ENDIF.
        ENDIF.
      ELSE.
        lv_stage = ls_attributes-partnerrole.
      ENDIF.
    In the code above, lr_current is bound but lv_excl_group_ui returns no value. Without this value, the code beyond cannot return any picklist values ( lt_ddlb ).
    I have checked the config and indeed the exclusion group has BP roles assigned to it.
    How can i fix this issue?
    Thanks a lot,
    JD

    Thanks Arun,
    When trying to create a new BP, the code needs the value of lv_excl_group to be passed to
       CALL METHOD cl_crm_uiu_bp_cust_get=>get_val_for_stage
    for fetching lt_ddlb.
    Sorry for the confusion.
      IF  lr_window->gv_account_was_saved IS INITIAL
            OR ( gr_ddlb_rltitl_note IS NOT BOUND
           AND NOT lr_window->gv_account_was_saved IS INITIAL ).
    *   indication of following navigational steps, which need
    *   to be handled separately:
    *   create Account -> enter stage -> back to OV -> edit page
        IF gr_ddlb_rltitl_note IS NOT BOUND
           AND NOT lr_window->gv_account_was_saved IS INITIAL.
          IF lv_excl_group IS INITIAL
            AND NOT lv_stage IS INITIAL.
            lv_xall_stages = 'X'.                               "#EC NOTEXT
          ENDIF.
        ENDIF.
        CREATE OBJECT gr_ddlb_rltitl
          EXPORTING
            iv_source_type = 'T'.
        CALL METHOD cl_crm_uiu_bp_cust_get=>get_val_for_stage
          EXPORTING
            iv_stage           = lv_stage
            iv_exclusion_group = lv_excl_group
            iv_xall_stages     = lv_xall_stages
            iv_actvt           = cl_crm_bupa_filter_bprole=>gc_actvt_create
          RECEIVING
            rt_value           = lt_ddlb.
    *   insert initial line as long no stage is maintained
        IF ls_attributes-partnerrole IS INITIAL
          OR NOT lv_xall_stages IS INITIAL.
          APPEND INITIAL LINE TO lt_ddlb.
        ENDIF.

  • Troubleshooting an 'Invalid picklist value'

    Hello All,
    I'd appreciate if someone can help me resolve this (I don't have the documentation to lookup the error codes and their meanings).
    I am getting the following strack trace trying to send a Lead. It's hard to say which field this is in reference to.
    [exec] 16:13:02,121 ERROR [STDERR] AxisFault
    [exec] faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    [exec] faultSubcode:
    [exec] faultString: Method 'SetFieldValue' of business component 'Lead' (in
    tegration component 'Lead') returned the following error:
    [exec] "Invalid multi-select picklist value in bus comp 'Lead', field '
    ZMSPick_2'.(SBL-ODS-50637)"(SBL-EAI-04376)
    Any help would be greatly appreciated!
    Best,
    James

    Hi James,
    To find out which field "ZMSPick_2", you could try going to the Lead field setup page, open the HTML source of the page, and search for "ZMSPick_2". I haven't tried it with multi-select picklists, but I know that it works for plain picklists.
    Regards,
    Alex.

  • Querying for custom picklist values

    Hello all,
    I have created a new field on my opportunity type called "Industry" and gave it picklist values. However, the system is not allowing me to query for the values using the Picklist web service. Am I missing a step here, or does the system not allow querying for custom picklist field values? I can get to certain lists of picklist values for Opportunity (Type, Probability, some others) but not the picklist I created. Am I doing something wrong?
    Thanks!
    -Kevin Green

    Hi,
    Find integration tag for custom field in Field Setup. When you call getPicklist method, pass three values like Object type(ex: Lead), integratin tag for the custom field, "" ( this is language, this field is no need for English languague)
    Hope this willl work
    Raja Kumar Malla
    [email protected]

  • Picklist values

    I have created a custom field with field type "multi select picklist ". Post creation , i have updated some 200 picklist values using edit picklist. Now the users dont want a multi select picklist - & since field type cannot be modified once created, is there a way to copy all these 200 picklist values into a new field that I will create with field type "picklist" ?

    Hi,
    There's no possibility to copy / paste values like these in another field.
    But there's a way for you to save your time : the import tool. You can use it to populate a picklist value by checking the option before the import. I did it on the Activity object and now my picklist contains all the value I need. And no need to save one by one these values !
    You'll need to have an import file containing for each row a value you need in your picklist. And you'll have to add an ID (ExternalUniqueId) and all the required fields of the object you'll import. After the import, you'll only need to delete the records created and here you can use the mass delete functionality.
    Hope this will help, feel free to ask more !
    Max

  • Status Field Picklist Values

    It appears that the status field on the Service Request and Activity seems to be of PickList (Read-Only) and hence I am not able to add any other values. We are basically looking at adding one more value "Cancelled" to the Tasks/Appointments in the Status field. Any ideas?
    Thanks,
    Sriram

    Hi sriram,
    IN service request, "Calcelled" value is available by default and to provide this value in task / Appointment in Status field i suggest you to use one workaround. rename existing status field to "Status Old" and create new Pick list field and name it "Status" and add picklist values which you require and finally replace the old field with newly created status pick list field in appointment layout.
    for any other thing pls write back.
    Cheers
    Nisman

  • Export of picklist values - Custom Object

    Hi,
    I just tried to export picklists and noticed that customobject picklists are not exported. Is it possible to export the custom obj picklist values? if yes, How?
    Thanks,
    Madhu

    Hi Venky,
    I tried to export 'Picklist Values' in Admin Data Record type and could not find the picklist values of the custom objects in the exported list.
    Thanks,
    madhu

  • Refinement Panel show "file name" values with question mark instead of spaces

    Hi,
    I customized Refinement Panel to refine by file name. In some cases the value (file name) is shown with question mark instead of space. It looks like gibberish and the refine by that value doesn't bring the result.
    Any ideas how to solve?
    keren tsur

    Hi Keren,
    Please try to reset index in Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Index Reset > check the box Deactivate search
    alerts during reset > Reset Now > Ok.
    Then restart a full crawl in the Central Administration > Application Management > Manage service applications > click the Search service application > Crawling > Content Sources.
    In addition, please capture a screenshot of the issue.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Magic Values - A Question of Development Approach

    Hello folks,
    I have a question for you PL/SQ developers out there. This isn't a specific problem or query I'm raising here, more a question of general approach. I'm probably not using the correct terms here so forgive me. Also, I've already posted this in the ApEx forum, however there's a degree of overlap into pure PL/SQL so I thought you were all bound to have experience of something along the same lines.
    Anyhoo...
    How to deal with Magic values - i.e. values which hold no intrinsic value in and of themselves, other than for state, process or conditional logic control. I use them quite a lot in my PL/SQL code (as I'm sure most developers do in one context or another).
    From a Data architecture perspective, I'll generally have some sort of table for storing the 'facts': names, addresses etc, etc. Any application-specific magic values ('status', 'type') will be held as a foreign key in this table, which will reference a form of lookup table.
    Example:
    EMOTION
    ID   Description
    ==   ===========
    1    HAPPY
    2    SAD
    3    NEUTRAL
    PERSON
    NAME ... EMOTIONAL_STATE
    ====       ===============
    BILL       1
    JERRY    1
    BRIAN      3
    DONNA    2So far, so banal...
    Now, say I have a process that needs to reference someone's emotional state for some sort of conditional logic:
    declare
       n_estate number;
    begin
       select emotional_state into n_estate
         from Person
        where name = 'BILL';
       case when v_state = 1 then
          -- do something
       case when v_state = 2 then 
          -- do something else
       else
          -- otherwise something else again
    end case;
    end;straight away your bad code radar should be going crazy: you're coding literals in there! So, the old java programmer in me wants to store these as constants - I'll generally square them away inside a package somewhere, like so:
    create or replace package PKG_CONSTANTS as
       ES_HAPPY constant number:= 1;
       ES_SAD constant number := 2;
       ES_NEUTRAL constant number := 3;
    end PKG_CONSTANTS;Thus the code becomes
    Case when v_state = PKG_CONSTANTS.ES_HAPPY then ...Herein lies the crux of the issue. I'm effectively defining the same value twice: once in the lookup table (for data integrity) and once in the package. If new values are defined (say "Existential Ennui") or existing values are changed, I need to make sure the two are aligned, which hinders maintainability.
    I thought about initialising the values as sort of pseudo-constants in the package initialise code but then you end up replacing one literal with another; you end up with code like:
    create or replace package PKG_CONSTANTS as
       ES_HAPPY number;
       ES_SAD constant number;
       ES_NEUTRAL constant number;
    end PKG_CONSTANTS;
    create or replace package body PKG_CONSTANTS as 
       rf_curs sys_refcursor;
    begin
       for rf_curs in
          select ID
                 ,description
            from EMOTIONAL_STATE;
       loop
          case description
          when 'HAPPY' then
             ES_HAPPY := ID;
          when 'SAD' then
             ES_SAD := ID;
          when 'NEUTRAL' then
             ES_NEUTRAL := ID;
          else
             null;
          end case;
       end loop;
    end PKG_CONSTANTS;I also thought about using dynamic PL/SQL to re-write and recompile the constants package in the event of a value being changed in the lookup table...seems like quite a lot of work, given that the magic value is pretty much meaningless outside of the scope of the application.
    So... how to deal with this? What approach to you take? Does data integrity over-ride application programming style?
    Any contributions would be welcome!

    Hello,
    I had a look through the article (8 year's worth of thread? Sheesh that's dedication!) and yet it doesn't quite express exactly what I'm meaning. The argument there appears to be between dynamic SQL with bind variables versus static SQL. I'm not talking dynamically building queries or the use of bind variablers per se - its more related to how one makes use of magic values within the context of conditional logic and application code.
    The example I chose happened to use a case statement, which maybe blurs the line with the syntax of pure SQL query and perhaps why you thought I was going down the dynamic SQL route, but I could just have easily replaced them with a series of 'if elsif else end' type expressions.
    From an application developer point of view, the mantra of 'abstraction through constants' is the norm - referencing literals in expressions is generally frowned upon, with the possible exception of special numbers such as 1 or 0 (for incrementing counters, referring to the start of arrays etc, etc). One only has to look at the work of Feuerstein to see this - time and again in his books, the concept of delegating constant values (and subtypes) to well-defined areas (the "Single Source of Truth") rears it's head.
    Now in the Oracle world, data architecture generally has primacy, which in this case manifests itself as the use of foreign keys in data tables referencing the equivalent lookups (dimensional modelling, star diagrams and the rest) - thus even special, application-specific values, i.e. with no intrinsic value in the real world, end up in your ERD. There appears to be a bit difference of opinon, depending on the background of the developer.
    Hence my question - how do you, as developers, deal with these sorts of situations?

  • How to add new picklist value to states and countries to Address object

    Hi,
    I like to query and update picklists, state and country, in the address. What're the record type and filed name for them?
    I tried record type, Address and field name, State and Country, with no luck.
    Thanks

    Hi,
    As far as I know you cannot modify the address object at this point of time.
    If you want to add values or modify the picklists for State & Country, you would need to use custom fields and add all required values and then use those fields. (You can remove the Addres Object completely from the layout and then substitue it with the custom picklists that you have designed - possibly cascading picklists with Country as parent and State as child )
    Hope it helps.

  • Multi value attribute question

    Hello there,
    Our application would like to have a multi value attribute in DS11.1.1.7.0 on SLES platform. But here is my question..
    1. Can i have a one single attribute with value like companyCode: ABC,XYZ,QWE,RTY
    2. OR , can i have like below..
    CompayCode: ABC
    CompanyCode: XYZ
    CompanyCode: QWE
    CompanyCode: RTY
    which is the best method for LDAP server performance?
    Thanks

    Hi,
    Multi-valued attribute is supported OOTB by LDAP and it seems simpler&better (possibility to have better indexing, more efficient to add/delete values)  to use the second option, especially if you need to search for entries based on one of the attribute value. By default, LDAP attributes are multi-valued in the LDAP schema so you can store several values for companyCode.
    Note: attribute values in an LDAP attribute are unordered, so choose the primary option if you need to maintain ordering across attribute values.
    HTH
    -Sylvain

  • Dashboard prompt value update question

    All,
    I am hoping to see if anyone can answer my question or whether it is a bug or an enhancement request is needed to send to oracle.
    The issue is with my Dashboard prompt, plain and simple to there are two prompt. The second is reliant on the value of the first prompt.
    For example, My Parent prompt is Channel, and the second is Sub-Channel.
    When Channel prompt is given a value, I want the sub-channel to contain only the values that are related to the Channel prompt's new value.
    However it doesn't work, I have to press the GO button first, then the sub-channel will contain the values. Is there a way to update the sub-channel value based on the update of the Channel prompt, and not by pressing go.
    Any help will greatly be appreciated, if this needs to be an enhancement request to Oracle, please inform me of what I need to do. Thank. JAR80

    Its obiee limitation and conceptually its logical. Because when you choose constrain, BI server internally generates sql for constrain prompt. If we mention the sql, BI server uses the sql and which did not use the constrain query.
    this similar topic is discussed once here, and workaround posted. but it is some what complex, so need to do check before implementing.
    Can presentation variable created in one Dashboar prompt be used in other?
    - Madan

  • Carbon to QTKit value conversion question

    I am rewriting an application in Cocoa which was originally developed in Carbon. (It used Flash movies for custom interface elements, which QuickTime no longer allows, and Cocoa makes redoing the custom interface much easier, so this isn't as weird of a task as it may sound.)
    One of the things this program has to do is read a file containing a series of numbers, and have QuickTime jump a movie to points represented by the numbers. (The app is multiply-deployed with different movies, so the numbers have to be editable by a non-programmer.) The "read a file containing a series of numbers" part is pretty simple, but I'm lost when trying to figure out what to do with the numbers once I've got 'em.
    The old Carbon code (circa 2001) says:
    Movie theMovie = <pre-loaded movie>;
    long jumpValue = <value from file>;
    TimeRecord theMovieTimeRecord;
    GetMovieTime( theMovie, &theMovieTimeRecord );
    theMovieTimeRecord.value.lo = jumpValue;
    SetMovieTime( theMovie, &theMovieTimeRecord );
    So the question is: if I have a QTMovie containing the movie, and an NSNumber containing the number that was in jumpValue, what is the fastest way to make Cocoa do the equivalent jump? (Or, better yet, convert it to a QTTime?)
    And as a followup, is there any easy way to get a callback when a QTMovie reaches a particular QTTime?

    I have an answer to the main question, which falls in the "duh" category: use the "quickTimeMovie" method on the QTMovie to get the Movie primitive, and then just use the code exactly as-is (or as-was). It functions perfectly well, so yay.
    Given that I'm using a non-standard timing system, I suppose I'll have to use a kludgey workaround to watch for the movie reaching particular points. (For example, an NSTimer which calls a checking function several times per second to see how far the movie has gone. Not elegant, but there are worse things to do.)

Maybe you are looking for

  • Turn off display (like an iPad/smartphone)

    I have googled all night for this, and only found forum posts where people don't understand what the question is.  I'm looking for a way to make the power button on my helix do the same as a power button on an iPad or smartphone.  I want it to turn o

  • Same AUC for several invoices

    Hello guys, My client wants to use the same AUC several time across years (for different final assets): Form me,  the inconvenient of this procedure is that: - The more items have to settled the more difficult it is to define correctly the link betwe

  • Ipad2 won't send mail

    No matter which account I choose I consistently get the error message that the "recipient was rejected by the server".  On the Apple site it was suggested that all other servers be turned on, they are.  It was also suggested I turn the iPad off and t

  • Things not in default pacman

    In the past I never had this problem, but the last year I more and more had it: To install useful things, I can't simply use pacman as it is by default anymore to install things. I have to use either AUR (too annoying and complex), or configure diffe

  • Lexmark interpret s405

    Hello everyone! I have a Macbook Pro with Snow Leopard, and as I plugged in the printer it worked... however, I am not able to scan directly with Acrobat; if I install the driver I find on the Lexmark website, the scanner works with Acrobat but the p