The customer business object. This class manages the customer or User Profile for users of the store. The underlying table is wws_customers.

Parent Class: wwbusiness

Properties, Events and Methods

Member Description
findbyuseridFinds and loads a user based on his user ID.
o.findbyuserid(lcUserId)
getcountriesReturns countries and country codes as a cursor. Code and Name are the fields returned.
o.getcountries()
loadbynameLoads a customer by name.
o.loadbyname(lcLast, lcFirst)
UpdateSourceAdds a source value into the Source field. Sources are used for tracking users and where they came from. For example, West Wind writes a source key for every contest that's run.
o.UpdateSource(lcSource,llRemove)
validateCheck property values for completeness and return .T. or .F. based on the values. cErrorMsg contains any errors in a CHR(13) separated list.
o.validate()


Last Updated: 09/03/03 | Send topic feedback