Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

Wasabi.Data.Customer

persistent class Wasabi.Data.Customer extends Wasabi.Data.Person

SQL Table Name: Wasabi_Data.Customer

Property Inventory

Method Inventory

Properties

property CompanyName as %String;
Property methods: CompanyNameDisplayToLogical(), CompanyNameGet(), CompanyNameGetStored(), CompanyNameIsValid(), CompanyNameLogicalToDisplay(), CompanyNameLogicalToOdbc(), CompanyNameNormalize(), CompanyNameSet()
property ContactEmailAddress as Wasabi.Common.DT.Email;
Property methods: ContactEmailAddressDisplayToLogical(), ContactEmailAddressGet(), ContactEmailAddressGetStored(), ContactEmailAddressIsValid(), ContactEmailAddressLogicalToDisplay(), ContactEmailAddressLogicalToOdbc(), ContactEmailAddressNormalize(), ContactEmailAddressSet()
property CustomerNumber as %Integer [ Required ];
Property methods: CustomerNumberDisplayToLogical(), CustomerNumberGet(), CustomerNumberGetStored(), CustomerNumberIsValid(), CustomerNumberLogicalToDisplay(), CustomerNumberNormalize(), CustomerNumberSet()

Methods

classmethod Add(cust As Wasabi.Person.API.Person)
method CopyFrom(cust As Wasabi.Person.API.Customer)
classmethod GetMatches(lastname As %String = "", firstname As %String = "") as %ResultSet.SQL
classmethod GetOne(id As %String) as Wasabi.Person.API.Person
classmethod Update(cust As Wasabi.Person.API.Person)

Indexes

index (CustomerNumberIndex on CustomerNumber) [Unique];
Index methods: CustomerNumberIndexCheck(), CustomerNumberIndexCheckUnique(), CustomerNumberIndexDelete(), CustomerNumberIndexExists(), CustomerNumberIndexOpen(), CustomerNumberIndexSQLCheckUnique(), CustomerNumberIndexSQLExists(), CustomerNumberIndexSQLFindPKeyByConstraint(), CustomerNumberIndexSQLFindRowIDByConstraint()

Inherited Members

Inherited Properties

Inherited Methods

Storage

Gray indicates storage defined by superclasses.

Storage Model: CacheStorage (Wasabi.Data.Person)

^Wasabi.Data.PersonD(ID,"Addresses",n)
=
Addresses(n)

Storage Model: CacheStorage (Wasabi.Data.Person)

^Wasabi.Data.PersonD(ID)
=
%%CLASSNAME
LastName
FirstName
MiddleInitial
DOB
Title
Suffix
Gender
UserName
Password
PhoneNumberSerials

Storage Model: CacheStorage (Wasabi.Data.Customer)

^Wasabi.Data.PersonD(ID,"Customer")
=
CustomerNumber
CompanyName
ContactEmailAddress
FeedbackOpens in a new tab