Click or drag to resize
StatusCode Enumeration
Represents a SalesForce error status code.

Namespace: CMS.SalesForce
Assembly: CMS.SalesForce (in CMS.SalesForce.dll) Version: 11.0.0
Syntax
C#
public enum StatusCode
Members
  Member nameValueDescription
ALL_OR_NONE_OPERATION_ROLLED_BACK0 All or none operation rolled back.
ALREADY_IN_PROCESS1 Already in process.
ASSIGNEE_TYPE_REQUIRED2 Assignee type required.
BAD_CUSTOM_ENTITY_PARENT_DOMAIN3 Bad custom entity parent domain.
BCC_NOT_ALLOWED_IF_BCC_COMPLIANCE_ENABLED4 BCC not allowed if BCC compliance enabled.
CANNOT_CASCADE_PRODUCT_ACTIVE5 Cannot cascade product active.
CANNOT_CHANGE_FIELD_TYPE_OF_APEX_REFERENCED_FIELD6 Cannot change field type of apex referenced field.
CANNOT_CREATE_ANOTHER_MANAGED_PACKAGE7 Cannot create another managed package.
CANNOT_DEACTIVATE_DIVISION8 Cannot deactivate division.
CANNOT_DELETE_LAST_DATED_CONVERSION_RATE9 Cannot delete last dated conversion rate.
CANNOT_DELETE_MANAGED_OBJECT10 Cannot delete managed object.
CANNOT_DISABLE_LAST_ADMIN11 Cannot disable last admin.
CANNOT_ENABLE_IP_RESTRICT_REQUESTS12 Cannot enable IP restrict requests.
CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY13 Cannot insert update activate entity.
CANNOT_MODIFY_MANAGED_OBJECT14 Cannot modify managed object.
CANNOT_RENAME_APEX_REFERENCED_FIELD15 Cannot rename apex referenced field.
CANNOT_RENAME_APEX_REFERENCED_OBJECT16 Cannot rename apex referenced object.
CANNOT_REPARENT_RECORD17 Cannot reparent record.
CANNOT_UPDATE_CONVERTED_LEAD18 Cannot update converted lead.
CANT_DISABLE_CORP_CURRENCY19 Cannot disable corp currency.
CANT_UNSET_CORP_CURRENCY20 Cannot unset corp currency.
CHILD_SHARE_FAILS_PARENT21 Child share fails parent.
CIRCULAR_DEPENDENCY22 Circular dependency.
COMMUNITY_NOT_ACCESSIBLE23 Community not accessible.
CUSTOM_CLOB_FIELD_LIMIT_EXCEEDED24 Custom CLOB field limit exceeded.
CUSTOM_ENTITY_OR_FIELD_LIMIT25 Custom entity or field limit.
CUSTOM_FIELD_INDEX_LIMIT_EXCEEDED26 Custom field index limit exceeded.
CUSTOM_INDEX_EXISTS27 Custom index exists.
CUSTOM_LINK_LIMIT_EXCEEDED28 Custom link limit exceeded.
CUSTOM_TAB_LIMIT_EXCEEDED29 Custom tab limit exceeded.
DELETE_FAILED30 Delete failed.
DELETE_REQUIRED_ON_CASCADE31 Delete required on cascade.
DEPENDENCY_EXISTS32 Dependency exists.
DUPLICATE_CASE_SOLUTION33 Duplicate case solution.
DUPLICATE_COMM_NICKNAME34 Duplicate comm. nickname.
DUPLICATE_CUSTOM_ENTITY_DEFINITION35 Duplicate custom entity definition.
DUPLICATE_CUSTOM_TAB_MOTIF36 Duplicated custom tab motif.
DUPLICATE_DEVELOPER_NAME37 Duplicated developer name.
DUPLICATE_EXTERNAL_ID38 Duplicated external id.
DUPLICATE_MASTER_LABEL39 Duplicated master label.
DUPLICATE_SENDER_DISPLAY_NAME40 Duplicated sender display name.
DUPLICATE_USERNAME41 Duplicated username.
DUPLICATE_VALUE42 Duplicated value.
EMAIL_NOT_PROCESSED_DUE_TO_PRIOR_ERROR43 E-mail not processed due to prior error.
EMPTY_SCONTROL_FILE_NAME44 Empty SControl file name.
ENTITY_FAILED_IFLASTMODIFIED_ON_UPDATE45 Entity failed IfLastModified on update.
ENTITY_IS_ARCHIVED46 Entity is archived.
ENTITY_IS_DELETED47 Entity is deleted.
ENTITY_IS_LOCKED48 Entity is locked.
ERROR_IN_MAILER49 Error in mailer.
FAILED_ACTIVATION50 Failed activation.
FIELD_CUSTOM_VALIDATION_EXCEPTION51 Field custom validation exception.
FIELD_FILTER_VALIDATION_EXCEPTION52 Field filter validation exception.
FIELD_INTEGRITY_EXCEPTION53 Field integrity exception.
FILTERED_LOOKUP_LIMIT_EXCEEDED54 Filtered lookup limit exceeded.
HTML_FILE_UPLOAD_NOT_ALLOWED55 HTML file upload not allowed.
IMAGE_TOO_LARGE56 Image too large.
INACTIVE_OWNER_OR_USER57 Inactive owner or user.
INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY58 Insufficient access on cross reference entity.
INSUFFICIENT_ACCESS_OR_READONLY59 Insufficient access or readonly.
INVALID_ACCESS_LEVEL60 Invalid access level.
INVALID_ARGUMENT_TYPE61 Invalid argument type.
INVALID_ASSIGNEE_TYPE62 Invalid assignee type.
INVALID_ASSIGNMENT_RULE63 Invalid assignment rule.
INVALID_BATCH_OPERATION64 Invalid batch operation.
INVALID_CONTENT_TYPE65 Invalid content type.
INVALID_CREDIT_CARD_INFO66 Invalid credit card info.
INVALID_CROSS_REFERENCE_KEY67 Invalid cross reference key.
INVALID_CROSS_REFERENCE_TYPE_FOR_FIELD68 Invalid cross reference type for field.
INVALID_CURRENCY_CONV_RATE69 Invalid currency conv. rate.
INVALID_CURRENCY_CORP_RATE70 Invalid currency corp. rate.
INVALID_CURRENCY_ISO71 Invalid currency ISO.
INVALID_DATA_CATEGORY_GROUP_REFERENCE72 Invalid data category group reference.
INVALID_DATA_URI73 Invalid data URI.
INVALID_EMAIL_ADDRESS74 Invalid e-mail address.
INVALID_EMPTY_KEY_OWNER75 Invalid empty key owner.
INVALID_FIELD76 Invalid field.
INVALID_FIELD_FOR_INSERT_UPDATE77 Invalid field for insert update.
INVALID_FIELD_WHEN_USING_TEMPLATE78 Invalid field when using template.
INVALID_FILTER_ACTION79 Invalid filter action.
INVALID_GOOGLE_DOCS_URL80 Invalid Google docs URL.
INVALID_ID_FIELD81 Invalid id field.
INVALID_INET_ADDRESS82 Invalid inet address.
INVALID_LINEITEM_CLONE_STATE83 Invalid line item clone state.
INVALID_MASTER_OR_TRANSLATED_SOLUTION84 Invalid master or translated solution.
INVALID_MESSAGE_ID_REFERENCE85 Invalid message id reference.
INVALID_OPERATION86 Invalid operation.
INVALID_OPERATOR87 Invalid operator.
INVALID_OR_NULL_FOR_RESTRICTED_PICKLIST88 Invalid or null for restricted picklist.
INVALID_PARTNER_NETWORK_STATUS89 Invalid partner network status.
INVALID_PERSON_ACCOUNT_OPERATION90 Invalid person account operation.
INVALID_READ_ONLY_USER_DML91 Invalid read only user DML.
INVALID_SAVE_AS_ACTIVITY_FLAG92 Invalid save as activity flag.
INVALID_SESSION_ID93 Invalid session id.
INVALID_SETUP_OWNER94 Invalid setup owner.
INVALID_STATUS95 Invalid status.
INVALID_TYPE96 Invalid type.
INVALID_TYPE_FOR_OPERATION97 Invalid type for operation.
INVALID_TYPE_ON_FIELD_IN_RECORD98 Invalid type on field in record.
IP_RANGE_LIMIT_EXCEEDED99 IP range limit exceeded.
LICENSE_LIMIT_EXCEEDED100 License limit exceeded.
LIGHT_PORTAL_USER_EXCEPTION101 Light portal user exception.
LIMIT_EXCEEDED102 Limit exceeded.
MALFORMED_ID103 Malformed id.
MANAGER_NOT_DEFINED104 Manager not defined.
MASSMAIL_RETRY_LIMIT_EXCEEDED105 Mass mail retry limit exceeded.
MASS_MAIL_LIMIT_EXCEEDED106 Mass mail limit exceeded.
MAXIMUM_CCEMAILS_EXCEEDED107 Maximum cc emails exceeded.
MAXIMUM_DASHBOARD_COMPONENTS_EXCEEDED108 Maximum dashboard components exceeded.
MAXIMUM_HIERARCHY_LEVELS_REACHED109 Maximum hierarchy levels reached.
MAXIMUM_SIZE_OF_ATTACHMENT110 Maximum size of attachment.
MAXIMUM_SIZE_OF_DOCUMENT111 Maximum size of document.
MAX_ACTIONS_PER_RULE_EXCEEDED112 Max actions per rule exceeded.
MAX_ACTIVE_RULES_EXCEEDED113 Max active rules exceeded.
MAX_APPROVAL_STEPS_EXCEEDED114 Max approval steps exceeded.
MAX_FORMULAS_PER_RULE_EXCEEDED115 Max formulas per rule exceeded.
MAX_RULES_EXCEEDED116 Max rules exceeded.
MAX_RULE_ENTRIES_EXCEEDED117 Max rule entries exceeded.
MAX_TASK_DESCRIPTION_EXCEEEDED118 Max task description exceeeded.
MAX_TM_RULES_EXCEEDED119 Max tm. rules exceeded.
MAX_TM_RULE_ITEMS_EXCEEDED120 Max tm. rule items exceeded.
MERGE_FAILED121 Merge failed.
MISSING_ARGUMENT122 Missing argument.
MIXED_DML_OPERATION123 Mixed DML operation.
NONUNIQUE_SHIPPING_ADDRESS124 Nonunique shipping address.
NO_APPLICABLE_PROCESS125 No applicable process.
NO_ATTACHMENT_PERMISSION126 No attachment permission.
NO_INACTIVE_DIVISION_MEMBERS127 No inactive division members.
NO_MASS_MAIL_PERMISSION128 No mass mail permission.
NUMBER_OUTSIDE_VALID_RANGE129 Number outside valid range.
NUM_HISTORY_FIELDS_BY_SOBJECT_EXCEEDED130 Number of history fields by sobject exceeded.
OPTED_OUT_OF_MASS_MAIL131 Opted out of mass mail.
OP_WITH_INVALID_USER_TYPE_EXCEPTION132 Operation with invalid user type exception.
PACKAGE_LICENSE_REQUIRED133 Package license required.
PORTAL_NO_ACCESS134 Portal no access.
PORTAL_USER_ALREADY_EXISTS_FOR_CONTACT135 Portal user already exists for contact.
PRIVATE_CONTACT_ON_ASSET136 Private contact on asset.
RECORD_IN_USE_BY_WORKFLOW137 Record in use by workflow.
REQUEST_RUNNING_TOO_LONG138 Request running too long.
REQUIRED_FEATURE_MISSING139 Required feature missing.
REQUIRED_FIELD_MISSING140 Required field missing.
SELF_REFERENCE_FROM_TRIGGER141 Self reference from trigger.
SHARE_NEEDED_FOR_CHILD_OWNER142 Share needed for child owner.
SINGLE_EMAIL_LIMIT_EXCEEDED143 Single e-mail limit exceeded.
STANDARD_PRICE_NOT_DEFINED144 Standard price not defined.
STORAGE_LIMIT_EXCEEDED145 Storage limit exceeded.
STRING_TOO_LONG146 String too long.
TABSET_LIMIT_EXCEEDED147 Tabset limit exceeded.
TEMPLATE_NOT_ACTIVE148 Template not active.
TERRITORY_REALIGN_IN_PROGRESS149 Territory realign in progress.
TEXT_DATA_OUTSIDE_SUPPORTED_CHARSET150 Text data outside supported charset.
TOO_MANY_APEX_REQUESTS151 Too many APEX requests.
TOO_MANY_ENUM_VALUE152 Too many enum values.
TRANSFER_REQUIRES_READ153 Transfer requires read.
UNABLE_TO_LOCK_ROW154 Unable to lock row.
UNAVAILABLE_RECORDTYPE_EXCEPTION155 Unavailable record type exception.
UNDELETE_FAILED156 Undelete failed.
UNKNOWN_EXCEPTION157 Unknown exception.
UNSPECIFIED_EMAIL_ADDRESS158 Unspecified e-mail address.
UNSUPPORTED_APEX_TRIGGER_OPERATON159 Unsupported APEX trigger operaton.
UNVERIFIED_SENDER_ADDRESS160 Unverified sender address.
USER_OWNS_PORTAL_ACCOUNT_EXCEPTION161 User owns portal account exception.
USER_WITH_APEX_SHARES_EXCEPTION162 User with APEX shares exception.
WEBLINK_SIZE_LIMIT_EXCEEDED163 Weblink size limit exceeded.
WRONG_CONTROLLER_TYPE164 Wrong controller type.
See Also