Show / Hide Table of Contents

Class AddressFormatRecordData

POCO (Plain Old CLR Object) class that can be used to hold data corresponding to a row from the AddressFormat table.

Inheritance
Object
AddressFormatRecordData
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM.Rows
Assembly: SoDataBase.dll
Syntax
public class AddressFormatRecordData
Remarks

Please use this class instead of a full AddressFormatRow object when you do not need to create or update a value in the database. Row objects have a large overhead since they carry the corresponding AddressFormatTableInfo object, which in turn defines fields and aliases; there may be a Sentry on a row, and various other helper objects.

Constructors

AddressFormatRecordData()

Declaration
public AddressFormatRecordData()

Fields

Address1Flags

Field flags for address1 field: See EAddrFormatFlags enum

Declaration
public short Address1Flags
Field Value
Type Description
Int16

Address1Leadtext

Lead text resource ID for address1 field, 0 = no leadtext

Declaration
public int Address1Leadtext
Field Value
Type Description
Int32

Address1Length

Field length in characters for address1 field

Declaration
public short Address1Length
Field Value
Type Description
Int16

Address1Line

Line no. for address1 field, 0 if not shown

Declaration
public short Address1Line
Field Value
Type Description
Int16

Address1Mask

Formatting mask for address1 field

Declaration
public string Address1Mask
Field Value
Type Description
String

Address1Subpos

Position within line for address1 field

Declaration
public short Address1Subpos
Field Value
Type Description
Int16

Address1Zip

Zip lookup functionality for address1 field: 0 = none, 1 = source, 2 = target

Declaration
public short Address1Zip
Field Value
Type Description
Int16

Address2Flags

Field flags for address2 field: See EAddrFormatFlags enum

Declaration
public short Address2Flags
Field Value
Type Description
Int16

Address2Leadtext

Lead text resource ID for address2 field, 0 = no leadtext

Declaration
public int Address2Leadtext
Field Value
Type Description
Int32

Address2Length

Field length in characters for address2 field

Declaration
public short Address2Length
Field Value
Type Description
Int16

Address2Line

Line no. for address2 field, 0 if not shown

Declaration
public short Address2Line
Field Value
Type Description
Int16

Address2Mask

Formatting mask for address2 field

Declaration
public string Address2Mask
Field Value
Type Description
String

Address2Subpos

Position within line for address2 field

Declaration
public short Address2Subpos
Field Value
Type Description
Int16

Address2Zip

Zip lookup functionality for address2 field: 0 = none, 1 = source, 2 = target

Declaration
public short Address2Zip
Field Value
Type Description
Int16

Address3Flags

Field flags for address3 field: See EAddrFormatFlags enum

Declaration
public short Address3Flags
Field Value
Type Description
Int16

Address3Leadtext

Lead text resource ID for address3 field, 0 = no leadtext

Declaration
public int Address3Leadtext
Field Value
Type Description
Int32

Address3Length

Field length in characters for address3 field

Declaration
public short Address3Length
Field Value
Type Description
Int16

Address3Line

Line no. for address3 field, 0 if not shown

Declaration
public short Address3Line
Field Value
Type Description
Int16

Address3Mask

Formatting mask for address3 field

Declaration
public string Address3Mask
Field Value
Type Description
String

Address3Subpos

Position within line for address3 field

Declaration
public short Address3Subpos
Field Value
Type Description
Int16

Address3Zip

Zip lookup functionality for address3 field: 0 = none, 1 = source, 2 = target

Declaration
public short Address3Zip
Field Value
Type Description
Int16

AddressformatId

Primary key

Declaration
public int AddressformatId
Field Value
Type Description
Int32

AtypeIdx

Corresponds to Address.atype_idx

Declaration
public short AtypeIdx
Field Value
Type Description
Int16

CityFlags

Field flags for city field: See EAddrFormatFlags enum

Declaration
public short CityFlags
Field Value
Type Description
Int16

CityLeadtext

Lead text resource ID for city field, 0 = no leadtext

Declaration
public int CityLeadtext
Field Value
Type Description
Int32

CityLength

Field length in characters for city field

Declaration
public short CityLength
Field Value
Type Description
Int16

CityLine

Line no. for city field, 0 if not shown

Declaration
public short CityLine
Field Value
Type Description
Int16

CityMask

Formatting mask for city field

Declaration
public string CityMask
Field Value
Type Description
String

CitySubpos

Position within line for city field

Declaration
public short CitySubpos
Field Value
Type Description
Int16

CityZip

Zip lookup functionality for city field: 0 = none, 1 = source, 2 = target

Declaration
public short CityZip
Field Value
Type Description
Int16

CountyFlags

Field flags for county field: See EAddrFormatFlags enum

Declaration
public short CountyFlags
Field Value
Type Description
Int16

CountyLeadtext

Lead text resource ID for county field, 0 = no leadtext

Declaration
public int CountyLeadtext
Field Value
Type Description
Int32

CountyLength

Field length in characters for county field

Declaration
public short CountyLength
Field Value
Type Description
Int16

CountyLine

Line no. for county field, 0 if not shown

Declaration
public short CountyLine
Field Value
Type Description
Int16

CountyMask

Formatting mask for county field

Declaration
public string CountyMask
Field Value
Type Description
String

CountySubpos

Position within line for county field

Declaration
public short CountySubpos
Field Value
Type Description
Int16

CountyZip

Zip lookup functionality for county field: 0 = none, 1 = source, 2 = target

Declaration
public short CountyZip
Field Value
Type Description
Int16

ExtraFlags

OBSOLETE: Extra flags for tag substitution mechanism, see idb.h. This function has been taken over by the tag-based formatting, controlled by the labelLayout and labelLayout2 fields

Declaration
public uint ExtraFlags
Field Value
Type Description
UInt32

IsBuiltIn

Is this row populated by SuperOffice?

Declaration
public short IsBuiltIn
Field Value
Type Description
Int16

LabelLayout

Format specification for labels, uses standard tags

Declaration
public string LabelLayout
Field Value
Type Description
String

LabelLayout2

Part two of format specification, concatenated with part one above

Declaration
public string LabelLayout2
Field Value
Type Description
String

LayoutId

Corresponds to Country.layout_id

Declaration
public short LayoutId
Field Value
Type Description
Int16

Name

Name of address format (descriptive, multi-language)

Declaration
public string Name
Field Value
Type Description
String

Registered

Registered when in UTC.

Declaration
public DateTime Registered
Field Value
Type Description
DateTime

RegisteredAssociateId

Registered by whom

Declaration
public int RegisteredAssociateId
Field Value
Type Description
Int32

StateFlags

Field flags for state field: See EAddrFormatFlags enum

Declaration
public short StateFlags
Field Value
Type Description
Int16

StateLeadtext

Lead text resource ID for state field, 0 = no leadtext

Declaration
public int StateLeadtext
Field Value
Type Description
Int32

StateLength

Field length in characters for state field

Declaration
public short StateLength
Field Value
Type Description
Int16

StateLine

Line no. for state field, 0 if not shown

Declaration
public short StateLine
Field Value
Type Description
Int16

StateMask

Formatting mask for state field

Declaration
public string StateMask
Field Value
Type Description
String

StateSubpos

Position within line for state field

Declaration
public short StateSubpos
Field Value
Type Description
Int16

StateZip

Zip lookup functionality for state field: 0 = none, 1 = source, 2 = target

Declaration
public short StateZip
Field Value
Type Description
Int16

Updated

Last updated when in UTC.

Declaration
public DateTime Updated
Field Value
Type Description
DateTime

UpdatedAssociateId

Last updated by whom

Declaration
public int UpdatedAssociateId
Field Value
Type Description
Int32

UpdatedCount

Number of updates made to this record

Declaration
public short UpdatedCount
Field Value
Type Description
Int16

ZipFlags

Field flags for zip field: See EAddrFormatFlags enum

Declaration
public short ZipFlags
Field Value
Type Description
Int16

ZipLeadtext

Lead text resource ID for zip field, 0 = no leadtext

Declaration
public int ZipLeadtext
Field Value
Type Description
Int32

ZipLength

Field length in characters for zip field

Declaration
public short ZipLength
Field Value
Type Description
Int16

ZipLine

Line no. for zip field, 0 if not shown

Declaration
public short ZipLine
Field Value
Type Description
Int16

ZipMask

Formatting mask for zip field

Declaration
public string ZipMask
Field Value
Type Description
String

ZipSubpos

Position within line for zip field

Declaration
public short ZipSubpos
Field Value
Type Description
Int16

ZipZip

Zip lookup functionality for zip field: 0 = none, 1 = source, 2 = target

Declaration
public short ZipZip
Field Value
Type Description
Int16

Extension Methods

EnumUtil.MapEnums<From, To>(From)
ObjectExtensions.AssignByReflection<T>(T, T)
ObjectExtensions.GraphCopy<T>(T)
AddressFormatRecordDataExtensions.ToInsert(AddressFormatRecordData)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top