Regarding picklist values

Hello all,
Its have a nice discussion over phone, I have some urgent requirement in OCOD. I need to change the Lead Status to Custom values as per the client requirement, but Lead status itself is a Seededpicklist, we cannot do any modifications on that(I guess so?). So I have create 1 custom picklist with the Client requirement, when I trying to trigger an event by using workflow it throws an error meesgae.
For Ex: Client requirement for the Status field is “Open”( Please find it in Custom picklist in Lead Entity(Status1) as in Seeded picklist is Qualyfying
When I tried to write an event on this like “IIf( FieldValue(Staus1)='Open') AND PRE([<plStatus1_ITAG>])<>[Status1],FiledValue([<Status>])='Qualified',FiledValue([<Status>])='Converted'” it throws an error.
Could you please help with a query, i guess my query was wrong? Need help ASAP

I am assuming that 'Status1' is the original satus field and 'Status' is the custom field. Use this syntax to update 'Staus' field-
IIf([Status1>]='open','abcd','xyz')
You can use nested IIf() statement,if required.
rgds,
Amit

Similar Messages

  • 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

  • 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] &quot;Invalid multi-select picklist value in bus comp 'Lead', field '
    ZMSPick_2'.(SBL-ODS-50637)&quot;(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.

  • 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.

  • 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 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.

  • 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

  • Regarding changes in picklist values

    My requirement is like below:
    Client Requirement(Custom picklist (status))------- Lead status filed (Seeded Picklist(Lead Status))
    Open ----- Converted
    Contacted--------------------------------------------------------- Qualyfying
    Qualified------------------------------------------------------------- qualified
    Closed--------------------------------------------------------------- Archived
    Not approved------------------------------------------------------ rejected
    There is no possibility to change the value of Seeded picklist, because it is a read only one, so that i created one custom picklist as per the client requirement and when the field value changes in the client picklist it automaticaly captured the seeded picklist(because of the mapping & conversion of leads is mapped with seeded one only). So my understanding is i created custom one when the workflow triggers on the custom there is not much effect on the Mapping conversion of the lead status if at all i mapped like in the same way. Could you please suggest the solution on this.

    sha_2008 wrote:
    Sorry,
    Could you give me some more solutions to the query.I dint understand your answer.Not really. Have you looked at TreeSet? Have you though about creating your own class that has both a set and an list? Obviously not! Until you have it is a waste of time me responding.

  • Regarding picklist

    I have two picklists on opportunity page 1)Lead Source and 2) Advisory/Partner Name
    The Lead Source is Automatically populated from the Lead page and my requirement is if at all Lead Source is Advisory/Partner/Analyst from the dropdown it should be automatically populated as mandatory in the Advisory/partner name or otherwise it is not necessary to be mandatory. Could you guys please help me on this. Its very urgent......:)
    Edited by: Subbu on Jun 23, 2010 1:14 AM
    Is this the below query is correct when in the Advisory/Partner consists of A&B Values
    IIf([<Source>] ="Advisor", [<[<plAdvisoryPartner_Name_ITAG>]>] IS NOT NULL,"") OR IIf([<Source>] ="Partner", [<[<plAdvisoryPartner_Name_ITAG>]>] IS NOT NULL,"") OR IIf([<Source>] ="Analyst", [<[<plAdvisoryPartner_Name_ITAG>]>] IS NOT NULL,"")
    Edited by: Subbu on Jun 23, 2010 1:29 AM

    Hello Amit,
    Could you please help me regarding the above

  • Problem regarding accessing values from IBM Tivoli Directory Server

    hi,
    I am able to retrieve the values from ITDS.
    But the problem is when retrieving userPassword attribute value.
    Actually when i enter the userid and password in an html page and try to retrieve the corresponding user information from ITDS then it gives me exception
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    root cause
    java.lang.NullPointerException
         org.apache.jsp.Report_jsp._jspService(Report_jsp.java:74)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    note The full stack trace of the root cause is available in the Tomcat logs.
    While it is working fine for other attributes like mail etc.
    Is it somewhat related to encryption of password.
    How can it be solved?
    Thanks

    Hi!
    pls see http://help.sap.com/saphelp_nw70/helpdata/EN/44/0761cea5c610b3e10000000a11466f/frameset.htm
    if the users shall be created in the LDAP directory the UME datasource configuration has to be read/write.
    Regards
    Michael

  • 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.

  • Serious Problem In Oracle9i regarding numerical value error.

    Dear Experts,
    The below code gives numerical value error where cursor is fetching data(in the 'for' line).
    But the cursor's query is executing properly in a SQL window.
    Version is Oracle9i Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    Database Server created in Windows platform.
    Code------
    CREATE OR REPLACE Procedure INTGD.Ge_b_p_Test_Decode As
    Cursor c_Decode Is
    select decode(txt_party_sex,'M','MALE','FEMALE') Txt_Refund_Type
    from ge_b_motor_pool_policy_details
    Union
    Select 'P' From Gen_Proposal;
    lv_refund_type varchar2(10);
    l_Error_Msg Varchar2(500);
    Begin
    For i In c_Decode Loop
    Begin
    lv_refund_type := i.Txt_Refund_Type;
    Insert Into Ge_b_Test_Decode Values (lv_refund_type);
    Commit;
    Exception
    When Others Then
    l_Error_Msg := Substr(Sqlerrm, 1, 500);
    Dbms_Output.Put_Line(l_Error_Msg);
    End;
    End Loop;
    End;
    Please help ASAP.
    Regards,
    jishnu

    Dear Experts
    CREATE TABLE GE_B_MOTOR_POOL_POLICY_DETAILS
    TXT_RO_CODE VARCHAR2(10 BYTE) NOT NULL,
    TXT_OO_CODE VARCHAR2(10 BYTE) NOT NULL,
    NUM_POLICY_NUMBER NUMBER(25),
    NUM_ENDORSEMENT_SRL_NO NUMBER(3),
    NUM_SCHEDULE_CERTIFICATE_NO NUMBER(5),
    TXT_ENDORSMENT_POLICY_NUMBER VARCHAR2(23 BYTE),
    NUM_REFERENCE_NUMBER NUMBER(14) NOT NULL,
    DAT_REFERENCE_DATE DATE NOT NULL,
    NUM_XML_JOB_NO NUMBER(20),
    TXT_PRE_CAL_BASIS VARCHAR2(20 BYTE),
    CUR_NET_TP_PREMIUM NUMBER(20),
    CUR_TOT_TP_PREMIUM NUMBER(20),
    CUR_TP_SERVICE_TAX NUMBER(20),
    DAT_POLICY_EXPIRE_DATE DATE,
    NUM_POL_TERM NUMBER(3),
    TXT_POL_TERM_UNIT CHAR(1 BYTE),
    TXT_PARTY_TYPE CHAR(1 BYTE),
    TXT_PARTY_CODE VARCHAR2(30 BYTE),
    TXT_PARTY_FIRSTNAME VARCHAR2(60 BYTE),
    TXT_PARTY_MIDDLENAME VARCHAR2(60 BYTE),
    TXT_PARTY_LASTNAME VARCHAR2(60 BYTE),
    TXT_PARTY_SEX CHAR(1 BYTE),
    DAT_POLICY_START_DATE DATE,
    TXT_PARTY_ADDR1 VARCHAR2(100 BYTE),
    TXT_PARTY_ADDR2 VARCHAR2(100 BYTE),
    TXT_PARTY_ADDR3 VARCHAR2(100 BYTE),
    NUM_PARTY_PINCODE NUMBER(6),
    TXT_PARTY_STAKE_CODE VARCHAR2(10 BYTE),
    CUR_PAYMENT NUMBER(10),
    TXT_POL_INDICATOR VARCHAR2(10 BYTE),
    TXT_MAIN_POL_TYPE VARCHAR2(10 BYTE),
    TXT_POLICY_CATEGORY_FLEET_SCHD CHAR(1 BYTE),
    DAT_VOUCHAR_DATE DATE,
    TXT_PAY_MODE VARCHAR2(10 BYTE),
    TXT_PARTY_NAME VARCHAR2(60 BYTE),
    CUR_VOUCHAR_AMOUNT NUMBER(20),
    TXT_VOUCHAR_NUMBER VARCHAR2(30 BYTE),
    TXT_INSTRUMENT_NUMBER VARCHAR2(20 BYTE),
    DAT_INSTRUMENT_DATE DATE,
    TXT_NARRATION VARCHAR2(100 BYTE),
    DAT_INTIMATION_DATE DATE,
    DAT_INCEPTION_DATE DATE,
    TXT_PRODUCT_CODE VARCHAR2(10 BYTE),
    TXT_POLICY_EVENT VARCHAR2(10 BYTE),
    TXT_NIL_ENDORSEMENT_INDICATOR CHAR(1 BYTE),
    TXT_ENDORSEMENT_TYPE VARCHAR2(23 BYTE),
    TXT_REFUND_TYPE VARCHAR2(23 BYTE),
    TXT_CANCELLATION_TYPE VARCHAR2(23 BYTE),
    TXT_MEMBER_CODE VARCHAR2(10 BYTE),
    TXT_EVENT_SEQ_NO VARCHAR2(10 BYTE),
    TXT_MEMBER_POLICY_NO VARCHAR2(42 BYTE),
    DAT_VEHICLE_PURCHASE DATE,
    TXT_VEHICLE_NEW_SECOND_HAND VARCHAR2(10 BYTE),
    TXT_VEHICLE_CATEGORY VARCHAR2(10 BYTE),
    TXT_VEHI_COMMERCIAL_PASSENGER VARCHAR2(10 BYTE),
    TXT_VEHI_REGISTRATION_NO_1 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_2 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_3 VARCHAR2(3 BYTE),
    TXT_VEHI_REGISTRATION_NO_4 VARCHAR2(4 BYTE),
    TXT_REGISTRATION_NO VARCHAR2(15 BYTE),
    DAT_VEHI_REGISTRATION_DATE DATE,
    TXT_VEHI_REG_AUTHORITY VARCHAR2(30 BYTE),
    NUM_VEHI_MANU_YEAR NUMBER(10),
    TXT_VEHI_ENGINE_NO VARCHAR2(30 BYTE),
    TXT_VEHI_CHASSIS_NO VARCHAR2(30 BYTE),
    TXT_MAKE_MODEL VARCHAR2(10 BYTE),
    NUM_GROSS_VEHICLE_WT NUMBER(15),
    NUM_SEATING_CAPACITY_CABIN NUMBER(3),
    TXT_VEHI_FULE_TYPE VARCHAR2(10 BYTE),
    TXT_LPG_CNG_KIT_IN_BUILT VARCHAR2(3 BYTE),
    TXT_TYPE_OF_PERMIT VARCHAR2(10 BYTE),
    TXT_VEHI_USED_TUTION VARCHAR2(3 BYTE),
    TXT_VEHI_USED_COMMERCIAL VARCHAR2(3 BYTE),
    TXT_VEHI_DESIGNED_HANDICAPED VARCHAR2(3 BYTE),
    TXT_EXTN_OF_GEO_REQUIRED VARCHAR2(3 BYTE),
    NUM_CUBIC_CAPACITY NUMBER(5),
    NUM_LICENSE_CARRYING_CAPACITY NUMBER(8),
    TXT_NO_TRLR_TOWED_BY_TOW_VEH VARCHAR2(10 BYTE),
    TXT_TRAILERS_TOWED_BY VARCHAR2(10 BYTE),
    CUR_POL_RISK_PREMIUM NUMBER(20),
    CUR_POL_RISK_DISCOUNT NUMBER(20),
    CUR_POL_RISK_OVERLOAD NUMBER(20),
    CUR_TOT_POL_RISK NUMBER(20),
    TXT_WISH_TO_REDUCE_TPPD_COVER VARCHAR2(3 BYTE),
    NUM_NO_NON_FARE_PAY_PASSENGER NUMBER(3),
    NUM_NO_NON_FARE_PASS_EXCL_EMP NUMBER(3),
    TXT_WISH_TO_COVER_EMP_NON_FARE VARCHAR2(3 BYTE),
    NUM_NO_OF_LL_TO_DRVR_CLNR_CON NUMBER(3),
    NUM_NO_OF_WCL_TO_COOLIES NUMBER(3),
    NUM_NO_OF_PAID_DRVR_CLNR_COND NUMBER(3),
    CUR_TOT_SI_FOR_DRVR_CLNR_CON NUMBER(15),
    NUM_NO_UNNAMED_PERSNS_PRSNLACC NUMBER(3),
    CUR_TOT_SI_FOR_UNNAMED_PERSNS NUMBER(15),
    TXT_TYPE_OF_GOODS_TRANSPORTING VARCHAR2(10 BYTE),
    TXT_HOLD_VALID_DRV_LICENSE VARCHAR2(10 BYTE),
    NUM_PROPOSAL_TYPE NUMBER(5),
    NUM_MEMBER_ENDORSEMENT_TYPE NUMBER(5),
    NUM_VEHICLE_INTL_TYPE NUMBER(5),
    NUM_MEMBER_MAKE_CODE NUMBER(5),
    NUM_MEMBER_PAYMENT_MODE NUMBER(5),
    NUM_MEMBER_POLICY_CODE NUMBER(3),
    NUM_XID NUMBER(10),
    TXT_MULTI_PAYMENT CHAR(1 BYTE),
    TXT_POLICY_FLAG CHAR(1 BYTE),
    NUM_RECORD_SEQUENCE NUMBER(30),
    NUM_SCHEDULE_NUMBER NUMBER(5),
    NUM_SCHEDULE_ENTRY_NUMBER NUMBER(10),
    DAT_EVENT_DATE DATE,
    NUM_OUT_XID NUMBER(10),
    DAT_PROCESS_RUN_DATE DATE,
    TXT_HIRE_IMT35_APPLICABLE VARCHAR2(3 BYTE),
    DAT_ENDT_START_DATE DATE,
    TXT_OTHER_MAKE VARCHAR2(50 BYTE),
    TXT_TRANSIT_FROM VARCHAR2(30 BYTE),
    TXT_TRANSIT_TO VARCHAR2(30 BYTE),
    NUM_ACTUAL_DISTANCE NUMBER(15),
    TXT_TRAILER_ATTACHED VARCHAR2(1 BYTE),
    NUM_NO_TRAILER_ATTAH_TOWING_BY NUMBER(10),
    TXT_TRAILER_PURPOSE_TOWED_BY VARCHAR2(3 BYTE),
    TYPE_OF_OTHER_VEHI_MISC VARCHAR2(10 BYTE),
    NUM_NUMBER_OF_DRIVERS NUMBER(3),
    NUM_NUMBER_OF_TRADE_CERTIFI VARCHAR2(3 BYTE),
    TXT_WHETHER_TWO_WHEELER_OR_NOT VARCHAR2(3 BYTE),
    CUR_WAGES_IN_RS NUMBER(15),
    NUM_AREA_IN_SQUARE_METER NUMBER(15),
    TXT_TYPE_OF_PREMISES VARCHAR2(3 BYTE),
    NUM_AREA_OPENAIRCARPARK_IMT64 NUMBER(15),
    NUM_NO_PREMISES_BEYOND_450 NUMBER(3),
    TXT_LIABILITYWORKAWAYIMT65 VARCHAR2(3 BYTE),
    NUM_NO_LLPASSEXCLUDEMP_IMT46 NUMBER(3),
    TXT_WHETHER_VEHIUSEDDEMOIMT60 VARCHAR2(3 BYTE),
    TXT_WHETHERVEHICLETUITIONIMT61 VARCHAR2(3 BYTE),
    NUM_NO_LLDRIVERCLNRCONDUCIMT28 NUMBER(3),
    NUM_MISC_VEHICLECLASS_MEMBER NUMBER(10),
    TXT_PA_OD_COVER_REQUIRED VARCHAR2(1 BYTE),
    NUM_DISTANCE_TRAVELLED_VEHICLE NUMBER(10),
    NUM_NO_OF_DAYS NUMBER(10),
    CUR_TP_LOADING NUMBER(20),
    TXT_DUMMY_1 VARCHAR2(100 BYTE),
    TXT_DUMMY_2 VARCHAR2(100 BYTE),
    TXT_DUMMY_3 VARCHAR2(100 BYTE),
    TXT_DUMMY_4 VARCHAR2(100 BYTE),
    TXT_DUMMY_5 VARCHAR2(100 BYTE),
    NUM_DUMMY_1 NUMBER(2),
    NUM_DUMMY_2 NUMBER(2),
    NUM_DUMMY_3 NUMBER(3),
    NUM_DUMMY_4 NUMBER(4),
    DAT_DUMMY_1 DATE,
    DAT_DUMMY_2 DATE,
    DAT_DUMMY_3 DATE,
    DAT_DUMMY_4 DATE
    here txt_party_sex char(1) column is used in the pl/sql program
    CREATE TABLE GEN_PROPOSAL
    NUM_REFERENCE_NUMBER NUMBER(14) NOT NULL,
    DAT_REFERENCE_DATE DATE NOT NULL,
    NUM_POLICY_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    NUM_POLICY_YEAR NUMBER(4) DEFAULT 0 NOT NULL,
    NUM_DEPARTMENT_CODE NUMBER(3) NOT NULL,
    NUM_POLICY_TYPE NUMBER(3) NOT NULL,
    NUM_ENDORSEMENT_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    NUM_ENDORSEMENT_YEAR NUMBER(4) DEFAULT 0 NOT NULL,
    NUM_PROPOSAL_TYPE NUMBER(2) NOT NULL,
    TXT_PROPOSAL_STATUS VARCHAR2(2 BYTE) NOT NULL,
    NUM_COVERNOTE_NUMBER NUMBER(16),
    DAT_COVERNOTE_DATE DATE,
    TXT_NAME_OF_INSURED VARCHAR2(200 BYTE) NOT NULL,
    MEM_ADDRESS_OF_INSURED VARCHAR2(255 BYTE) NOT NULL,
    TXT_TELEPHONE VARCHAR2(30 BYTE),
    TXT_FAX VARCHAR2(15 BYTE),
    NUM_BUSINESS_CODE NUMBER(2),
    NUM_INDUSTRY_CODE NUMBER(4),
    NUM_PREVIOUS_POLICY_YEAR NUMBER(4),
    NUM_PREVIOUS_POLICY_NUMBER NUMBER(20),
    NUM_PREVIOUS_OFFICE_CODE NUMBER(6),
    NUM_PREVIOUS_POLICY_TYPE NUMBER(3),
    CUR_TOTAL_PREMIUM NUMBER(13,2) NOT NULL,
    CUR_PREMIUM_RECEIVED NUMBER(13,2) DEFAULT 0 NOT NULL,
    NUM_DEVELOPMENT_OFFICER_CODE NUMBER(8),
    NUM_AGENT_CODE NUMBER(14),
    NUM_SPECIAL_CLIENT_CODE NUMBER(8),
    DAT_DATE_OF_ISSUE_OF_POLICY DATE,
    DAT_DATE_OF_EXPIRY_OF_POLICY DATE,
    DAT_PREV_POLICY_EXPIRY_DATE DATE,
    TXT_OCCUPATION VARCHAR2(50 BYTE),
    NUM_NO_OF_CLAIMS NUMBER(8) DEFAULT 0 NOT NULL,
    NUM_ENDORSEMENT_TYPE NUMBER(2),
    DAT_HOURS_EFFECTIVE_FROM DATE,
    CUR_PREMIUM_COMPUTED NUMBER(13,2) NOT NULL,
    CUR_SERVICE_TAX NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_ENDT_AMOUNT NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_ENDT_SERTAX NUMBER(13,2) DEFAULT 0 NOT NULL,
    CUR_STAMP_DUTY NUMBER(11,2) DEFAULT 0 NOT NULL,
    YN_STAMP_DUTY_CHARGEABLE NUMBER(1) NOT NULL,
    CUR_SUM_INSURED NUMBER(16) NOT NULL,
    NUM_OWN_SHARE NUMBER(5,2) NOT NULL,
    NUM_AGENT_BILL_NO NUMBER(12) DEFAULT 0 NOT NULL,
    NUM_AGENT_COMM NUMBER(13,2) DEFAULT 0 NOT NULL,
    DAT_ENDT_START_DATE DATE,
    DAT_ENDT_END_DATE DATE,
    TXT_USER_ID VARCHAR2(8 BYTE),
    NUM_PC_ID NUMBER(2),
    NUM_SESSIO_ID NUMBER(5),
    NUM_PIN_CODE NUMBER(6),
    CUR_SPECIAL_DISCOUNT NUMBER(13,2),
    DAT_PROPOSAL_DATE DATE DEFAULT trunc(sysdate),
    CUR_ENDT_STAMP_DUTY NUMBER(11,2) DEFAULT 0 NOT NULL,
    NUM_ENDT_POLICY_NUMBER NUMBER(20) DEFAULT 0 NOT NULL,
    TXT_ENDT_FLAG CHAR(1 BYTE),
    NUM_INSTMNT_NO NUMBER(2) DEFAULT 0 NOT NULL,
    NUM_PREVIOUS_COMPANY_CODE NUMBER(6),
    NUM_COUNTRY_CODE NUMBER(3) NOT NULL,
    NUM_CURRENCY_CODE NUMBER(3) NOT NULL,
    NUM_AGENT_COMM_RATE NUMBER(4,2),
    NUM_SPECIAL_DISCOUNT_RATE NUMBER(4,2),
    DAT_COVERNOTE_RCVD_DATE DATE,
    TXT_SECTOR_CODE VARCHAR2(5 BYTE) NOT NULL,
    NUM_CLASS_CODE NUMBER(3) NOT NULL,
    TXT_MANUAL_CODE VARCHAR2(3 BYTE) NOT NULL,
    TXT_CUST_POLICY_NO VARCHAR2(20 BYTE) NOT NULL,
    TXT_CUST_ENDT_POLICY_NO VARCHAR2(20 BYTE) NOT NULL,
    DAT_LAST_UPDT_DTTM_DATE DATE DEFAULT sysdate NOT NULL,
    TXT_ARCHIVAL_STATUS CHAR(1 BYTE) DEFAULT 'F' NOT NULL,
    NUM_RENEWAL_POLICY_NO NUMBER(20) DEFAULT 0 NOT NULL,
    TXT_LAST_RECORD_STATUS CHAR(2 BYTE) NOT NULL,
    TXT_EMAIL_ADDRESS VARCHAR2(200 BYTE),
    NUM_SUB_CLASS_CODE NUMBER(3),
    CUR_STAFF_DISCOUNT NUMBER(13,2),
    CUR_GROUP_DISCOUNT NUMBER(13,2),
    CUR_LONGTERM_DISCOUNT NUMBER(13,2),
    CUR_TERRORISM_LOADING NUMBER(13,2),
    NUM_REINSTATEMENT_CLAIM_NO NUMBER(20),
    NUM_AGENT_MOD_COMM_RATE NUMBER(4,2),
    TXT_BUSINESS_FLAG VARCHAR2(3 BYTE),
    YN_SEZ NUMBER(1),
    TXT_PAN_NO VARCHAR2(15 BYTE),
    TXT_COMM_SHARE VARCHAR2(2 BYTE),
    TXT_CROSS_REFERENCE_NUMBER VARCHAR2(200 BYTE),
    DAT_CROSS_REFERENCE_DATE DATE,
    NUM_GROUP_CODE NUMBER(8),
    TXT_PRODUCT_TYPE VARCHAR2(2 BYTE),
    DAT_ACTUAL_EXPIRY_OF_POLICY DATE
    )

Maybe you are looking for