The CAddressBasic type exposes the following members.

Constructors

  NameDescription
Public methodCAddressBasic
Constructor used to create a brand new address. Normally called from a parent object (Contact, Order, etc.) via a NewAddress method, but may also be used directly for other unrelated addressing purposes.

Methods

  NameDescription
Protected methodCheckAndModifyEditStatus
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.)
Public methodDelete
Marks this object to be deleted when the save is done
(Inherited from iboBase.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFormatAddress
Formats the components of an address into the format defined by the Country.
Protected methodFormatBarCode()()()()
Creates the US Postal Service BarCode from a US ZIP code (PostalCode)
Public methodStatic memberFormatBarCode(String, String, String)
Creates the US Postal Service BarCode from a US ZIP code (PostalCode)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidate
Makes sure that all of the property data passes the iMIS business rules.
(Overrides iboBase..::..Validate()()()().)

Fields

  NameDescription
Protected fieldm_blnAddressDirty
Tracks whether the address has been changed but not committed.
Protected fieldm_strAddrLine1
Address line 1
Protected fieldm_strAddrLine2
Address line 2
Protected fieldm_strAddrLine3
Address line 3
Protected fieldm_strBarCode
Barcode
Protected fieldm_strCity
Address city
Protected fieldm_strCountry
Address Country
Protected fieldm_strCounty
Address county
Protected fieldm_strCRRT
CRRT
Protected fieldm_strDPB
DPB
Protected fieldm_strFullAddress
Full address
Protected fieldm_strMailCode
Address Mail code
Protected fieldm_strPostalCode
this is the ZIP code For the anonymous user, this value is set to "Guest" iboMCommon.gc_strAnonUserPostalCode CStdOrder tests for this value and skips automatic freight calculation
Protected fieldm_strStateProvince
Address StateProvince
Protected fieldmAddressFormatCode
Format code
Protected fieldmDirections
Directions
Protected fieldmEditStatus
The edit status (unchanged, modified, etc) of this record.
(Inherited from iboBase.)
Protected fieldmErrors
The current list of errors encountered by this class instance during processing.
(Inherited from iboBase.)
Protected fieldmValidateLongAddressLines
DT 2098: Indicates whether to validate address lines to a longer length

Properties

  NameDescription
Public propertyAddress1
Gets or sets the first line of the physical address.
Public propertyAddress2
Gets or sets the second line of the physical address.
Public propertyAddress3
Gets or sets the third line of the physical address.
Public propertyAddressFormatCode
Gets or sets a reference to the address format to use when creating the FormattedAddress out of the various physical address components.
Public propertyBarcode
Gets the US Postal Service Barcode representation of the address's ZIP or ZIP+4
Public propertyCarrierRoute
Gets or sets the carrier route data used by the USPS to sort mail.
Public propertyCity
Gets or sets the city (town, village, etc.) of the physical address.
Public propertyCountry
Gets or sets the name of the Country where the physical or non-physical address is located.
Public propertyCounty
Gets or sets the county in which the physical address is located.
Public propertyDeliveryPointBarcode
Gets or sets the machine readable representation of an 11 digit ZIP code used by the USPS to sort mail.
Public propertyDirections
Gets or sets driving/delivery directions to the physical address.
Public propertyEditStatus
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus
(Inherited from iboBase.)
Public propertyErrors
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.)
Public propertyErrorsCount
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.)
Public propertyFormattedAddress
Gets or sets the full, formatted physical address.
Public propertyMailCode
Gets or sets the Mail Code associated with this address, for sorting in large mailings.
Public propertyPostalCode
Gets or sets the postal code (zip code, post code) associated with the physical address.
Public propertyStateProvince
Gets or sets the State, Province, or equivelent in which the physical address is located.
Public propertyValidateLongAddressLines
Gets or sets an indication of whether address lines should be validated to a longer or shorter length.

See Also