The CAddressBasic type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CAddressBasic |
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
| Name | Description | |
|---|---|---|
| CheckAndModifyEditStatus |
Sets the EditStatus to Modified if it is Unchanged
(Inherited from iboBase.) | |
| Delete |
Marks this object to be deleted when the save is done
(Inherited from iboBase.) | |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| FormatAddress |
Formats the components of an address into the format defined by the Country.
| |
| FormatBarCode | Overloaded. | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) | |
| Validate |
Makes sure that all of the property data passes the iMIS business rules.
(Overrides iboBase..::.Validate()()().) |
Fields
| Name | Description | |
|---|---|---|
| m_blnAddressDirty |
Tracks whether the address has been changed but not committed.
| |
| m_strAddrLine1 |
Address line 1
| |
| m_strAddrLine2 |
Address line 2
| |
| m_strAddrLine3 |
Address line 3
| |
| m_strBarCode |
Barcode
| |
| m_strCity |
Address city
| |
| m_strCountry |
Address Country
| |
| m_strCounty |
Address county
| |
| m_strCRRT |
CRRT
| |
| m_strDPB |
DPB
| |
| m_strFullAddress |
Full address
| |
| m_strMailCode |
Address Mail code
| |
| m_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
| |
| m_strStateProvince |
Address StateProvince
| |
| mAddressFormatCode |
Format code
| |
| mDirections |
Directions
| |
| mEditStatus | The edit status (unchanged, modified, etc) of this record. (Inherited from iboBase.) | |
| mErrors | The current list of errors encountered by this class instance during processing. (Inherited from iboBase.) | |
| mValidateLongAddressLines |
DT 2098: Indicates whether to validate address lines to a longer length
|
Properties
| Name | Description | |
|---|---|---|
| Address1 |
Gets or sets the first line of the physical address.
| |
| Address2 |
Gets or sets the second line of the physical address.
| |
| Address3 |
Gets or sets the third line of the physical address.
| |
| AddressFormatCode |
Gets or sets a reference to the address format to use when creating the FormattedAddress out of the various physical address components.
| |
| Barcode |
Gets the US Postal Service Barcode representation of the address's ZIP or ZIP+4
| |
| CarrierRoute |
Gets or sets the carrier route data used by the USPS to sort mail.
| |
| City |
Gets or sets the city (town, village, etc.) of the physical address.
| |
| Country |
Gets or sets the name of the Country where the physical or non-physical address is located.
| |
| County |
Gets or sets the county in which the physical address is located.
| |
| DeliveryPointBarcode |
Gets or sets the machine readable representation of an 11 digit ZIP code used by the USPS to sort mail.
| |
| Directions |
Gets or sets driving/delivery directions to the physical address.
| |
| EditStatus |
Indicates the current edit status of this object, i.e., New, Modified, Deleted, or Unchanged. See EEditStatus (Inherited from iboBase.) | |
| Errors |
The collection of CError objects (error and warning messages) associated with this object instance
(Inherited from iboBase.) | |
| ErrorsCount |
Gets the number of error and warning messages that have been set on this object.
(Inherited from iboBase.) | |
| FormattedAddress |
Gets or sets the full, formatted physical address.
| |
| MailCode |
Gets or sets the Mail Code associated with this address, for sorting in large mailings.
| |
| PostalCode |
Gets or sets the postal code (zip code, post code) associated with the physical address.
| |
| StateProvince |
Gets or sets the State, Province, or equivelent in which the physical address is located.
| |
| ValidateLongAddressLines |
Gets or sets an indication of whether address lines should be validated
to a longer or shorter length.
|