Share via


Customer

The Customer class defines a customer who uses advertising through a Commerce Server 2009 Web site. A Customer object associates with an IndustryCode object, which defines the category of industry the customer belongs to. A link to one or more Campaign objects records the marketing campaigns for the customer. A link to one or more Creative objects records any custom advertisements for the customer.

Data Members

Data member name

Data type

Default value

Description

Address

WSTR

None

Stores the address for the Customer object.

Archived

FILETIME

None

Stores the time the Customer object was archived.

Comments

WSTR

None

Stores any comments regarding the Customer object.

Contact

WSTR

None

Stores the name of the contact for the Customer object.

CustomerNum

LONG

0

Stores the unique key for the Customer object. Key member.

CustomerTypeNum

LONG

None

Stores a user-definable classification code.

Email

WSTR

None

Stores the e-mail address for the Customer object.

Exported

FILETIME

None

Stores the time the Customer object was exported.

Fax

WSTR

None

Stores the fax number for the Customer object.

IndustryNum

LONG

0

None.

Modified

FILETIME

None

Stores the time the Customer object was last modified.

ModifiedBy

WSTR

None

Stores who last modified the Customer object.

Name

WSTR

None

Stores the name of the Customer object.

PassWord

WSTR

None

Stores the password for the Customer object.

Phone

WSTR

None

Stores the phone number for the Customer object.

SiteName

WSTR

Unknown

Stores the name of the site associated with the Customer object. Key member.

URL

WSTR

None

Stores the URL associated with the Customer object.

UserName

WSTR

None

Stores the user name for the Customer object.

Class Key

CustomerKey is composed of the following data members:

   CustomerNum + SiteName

Relations

For a description of the relation type, see Data Warehouse Classes.

Relation name

Parent

Child

Type

CampaignCustomer

Customer

Campaign

2

CreativeCustomer

Customer

Creative

2

CustomerIndustryCode

IndustryCode

Customer

2

See Also

Other Resources

Data Warehouse Classes