Oracle Web Services On Demand Troubleshooting Guide > Error Codes: Causes and Solutions >

SBL-ODS-49016


This error code has no error symbol.

Generic Error Message

Custom field of type 'fieldtype' is not supported for record type 'recordtype' (SBL-ODS-49016).

Causes and Solutions

A small number of record types can support an optimized field type even though they do not support a standard nonoptimized field type. For example, the record type Sales Assessment template supports an optimized custom long text field, but it does not support a regular custom long text field. For such record types, in Oracle CRM On Demand Web services, you must explicitly set the data:Optimized parameter to true when you create a custom field. If you do not set the data:Optimized parameter to true, then Oracle CRM On Demand Web services displays this error when no regular custom fields are available.

NOTE:  The following record types do not support regular custom fields, but they support optimized fields: Sales Assessment Template, Product Indication, Opportunity Team, Account Team, Lead Team, Business Plan Team, and Service Request Team.

Error Message

Custom field of type 'Picklist' is not supported for record type 'Sales Assessment Template'. (SBL-ODS-49016).

Incorrect SOAP Request

In the following incorrect SOAP request, the data:Optimized parameter is set to false.

<?xml version="1.0" encoding="utf-16"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fiel="urn:crmondemand/ws/odesabs/fieldmanagement/" xmlns:data="urn:/crmondemand/xml/fieldmanagement/data">

   <soapenv:Header></soapenv:Header>

   <soapenv:Body>

      <fiel:FieldManagementCreate_Input>

         <data:CustomField>

            <!--You may enter the following 12 items in any order-->

            <data:ObjectName>Sales Assessment Template</data:ObjectName>

            <data:DisplayName>FieldName</data:DisplayName>

            <data:CustomFieldType>Picklist</data:CustomFieldType>

            <!--Optional:-->

            <data:IntegrationTag></data:IntegrationTag>

            <!--Optional:-->

            <data:GenericIntegrationTag></data:GenericIntegrationTag>

            <!--Optional:-->

            <data:Required>false</data:Required>

            <!--Optional:-->

            <data:ReadOnly>false</data:ReadOnly>

            <data:Optimized>false</data:Optimized>

         </data:CustomField>

      </fiel:FieldManagementCreate_Input>

   </soapenv:Body>

</soapenv:Envelope>

Resolving Error SBL-ODS-49016

Set the data:Optimized parameter to true. If optimized fields are available for this record type, then the record type might support the field type.

Correcting the SOAP Request

To correct the SOAP request, set the data:Optimized parameter to true:

<?xml version="1.0" encoding="utf-16"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:fiel="urn:crmondemand/ws/odesabs/fieldmanagement/" xmlns:data="urn:/crmondemand/xml/fieldmanagement/data">

   <soapenv:Header></soapenv:Header>

   <soapenv:Body>

      <fiel:FieldManagementCreate_Input>

         <data:CustomField>

            <!--You may enter the following 12 items in any order-->

            <data:ObjectName>Sales Assessment Template</data:ObjectName>

            <data:DisplayName>FieldName</data:DisplayName>

            <data:CustomFieldType>Picklist</data:CustomFieldType>

            <!--Optional:-->

            <data:IntegrationTag></data:IntegrationTag>

            <!--Optional:-->

            <data:GenericIntegrationTag></data:GenericIntegrationTag>

            <!--Optional:-->

            <data:Required>false</data:Required>

            <!--Optional:-->

            <data:ReadOnly>false</data:ReadOnly>

            <data:Optimized>true</data:Optimized>

         </data:CustomField>

      </fiel:FieldManagementCreate_Input>

   </soapenv:Body>

</soapenv:Envelope>

Oracle Web Services On Demand Troubleshooting Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.