Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Administrative Services API Calls >

CustomRecordTypeUpsert


Updates an existing customized record type or inserts a new customized record type.

Usage

Use the CustomRecordTypeUpsert method to insert or update customized record type data.

The apdata:CustomRecordType argument contains the following elements containing customized record type data:

  • Name. The object name of the record type.
  • SingularName. The singular display name used in the UI.
  • PluralName. The plural display name used in the UI.
  • ShortName. The short display name used in the UI.

    NOTE:  SingularName, PluralName and ShortName are language independent names. If these names are present in the input, the behavior is similar to Mark for Translation being selected in the UI. These elements are not required for customizing language dependent singular/plural/short names for an object, as they are handled by ListOfCustomRecordTypeTranslation.

  • SupportDisplayImage. Whether an image is displayed on the record type's Detail page. This corresponds to the Display Image check box in the UI.
  • IconName. The file name of the classic theme icon for the record type.
  • ModernIconName. The file name of the modern theme icon for the record type.
  • AccessObjName. The name of the object as used in access profiles (this is read-only).
  • CustomizePreviousOwnerChannel. The circumstances in which the previous owner of a record is retained in the team when the owner of a record that is shared by a team is changed. This element is applicable only for record types for which sharing of records is supported. The value can be one of the following:
    • Never Retain Owner. This is the default value. The previous owner of the record will not be retained in the team.
    • Always Retain Owner. The previous owner of the record will be retained in the team, except when the owner is changed using the assignment manager.
    • All Interactive Operations. The previous owner of the record will be retained in the team, except when the owner is changed using the Import Assistant, the assignment manager, the mass update feature, or Web services.
  • CustomizePreviousOwnerAccessProfileId. The ID of the access profile for the previous owner of a shared record.
  • CustomizePreviousOwnerAccessProfile. The name of the access profile for the previous owner of a shared record.
  • ListOfCustomRecordTypeTranslation. The object display names in the languages activated for your company:
    • LanguageCode. The three-letter language code for the language.
    • SingularName. The singular name of the customized record type in the language identified by the language code.
    • PluralName. The plural name of the customized record type in the language identified by the language code.
    • ShortName. The short name of the customized record type in the language identified by the language code.

See Oracle Migration Tool On Demand Guide for reference tables about the following:

  • Mappings of three-letter language codes to languages.
  • Mappings of icon filenames to icons for record types in the Oracle CRM On Demand user interface.

NOTE:  Custom icons may be available for use as modern theme icons, and in this case the filenames used are system-generated. These filenames, for the Icon Type of Mini Icon, are displayed in the Icon Set Detail page in the Oracle CRM On Demand UI. For more information about custom icon sets, see Oracle CRM On Demand Online Help.

Arguments

Table 94 describes the arguments taken by the CustomRecordTypeUpsert method.

Table 94. Arguments Taken by the CustomRecordTypeUpsert Method
Name
Description
Required
Default
I/O

apData:CustomRecordType

The customized record type data to be inserted or updated.

Yes

Not applicable

Input

Status

The status of the call.

Not applicable

Not applicable

Output

Return Value of the Call

The status is returned.

Oracle Web Services On Demand Guide, Version 21.0 (Oracle CRM On Demand Release 33) Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Legal Notices.