PromoCodeGenerationErrorCode Enumeration

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Specifies possible promotion code import error codes.

Namespace:  Microsoft.CommerceServer.Marketing
Assembly:  Microsoft.CommerceServer.Marketing.CrossTierTypes (in Microsoft.CommerceServer.Marketing.CrossTierTypes.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Enumeration PromoCodeGenerationErrorCode
'Usage
Dim instance As PromoCodeGenerationErrorCode
[ComVisibleAttribute(false)]
public enum PromoCodeGenerationErrorCode
[ComVisibleAttribute(false)]
public enum class PromoCodeGenerationErrorCode
public enum PromoCodeGenerationErrorCode

Members

Member name Description
NoError No error occurred.
IncorrectFileFormat General file format problem.
MissingHeaders One or more required column headers are missing.
MissingFields Some fields are missing according to the header.
MissingUserForRestrictedDefinition TargetUser is empty when importing into a Restricted definition.
MissingCode Promocode field is missing when importing externally generated codes.
FieldLengthExceeded PromoCode or TargetUser value is longer that the maximum length (50 characters).
InvalidCharacters Some invalid characters were encountered.
NoData File contains no data to import.
UploadProblem Some problem happened when uploading the file.
DuplicatePromoCode A duplicate promo code was found (either in the same file or already existing in the database)
OutOfRandomCodes Promocode Generator could not generate codes because random codes space is exhausted.
TooManyErrors Generation job was rolled back because there was too many errors.
TooManyCodes Promocode Generator could not produce requested number of codes because it is more than the configured MaxBatchSize.
InternalError Internal error happened. Please see event log.
UnknownProblem Unknown problem happened

Remarks

Enumeration values for the possible PromoCodeGenerationErrorCode error codes.

See Also

Reference

Microsoft.CommerceServer.Marketing Namespace