Click or drag to resize

ESDRecordLocation Class

Ecommerce Standards Record that holds data for a single location. Location could be a physical geographical location or a virtual place.
Inheritance Hierarchy

Namespace:  EcommerceStandardsDocuments
Assembly:  EcommerceStandardsDocuments.Library (in EcommerceStandardsDocuments.Library.dll) Version: (

The ESDRecordLocation type exposes the following members.

Public methodESDRecordLocation
Initializes a new instance of the ESDRecordLocation class
Public propertyaddress1
First address field. Typically this could be a unit number or street number.
Public propertyaddress2
Second address field. Typically this could be the street name.
Public propertyaddress3
Third address field. Typically this could be the suburb, city or town.
Public propertycontact
Name of the contact at the location
Public propertycountry
Name of the country where the location exists.
Public propertydrop
Data Record OPeration. Denotes an operation that may need to be performed on the record when it is being processed. Set null, or set it to one of the ESD_RECORD_OPERATION constants in the ESDocumentConstants class to allow the record to be inserted, updated, deleted, or ignored.
Public propertyemail
address of the email that is handles communications for the location
Public propertyfax
Fax number of the location
Public propertyinternalID
Stores an identifier that is relevant only to the system referencing and storing the record for its own needs.
Public propertyisActive
  • N - No
  • Y - Yes
If 'Y' then indicates that the location is being used actively.
Public propertyisGeographic
  • N - No
  • Y - Yes
If 'Y' then indicates that the location physically exists at a geographic location in the world.
Public propertykeyLocationID
Key that allows the location record to be uniquely identified and linked to.
Public propertylatitude
Latitude co-ordinate of the geographic location. The number must be between 90 and -90
Public propertylocationCode
Code of the location. May or may not be a unqiue identifier.
Public propertylocationName
Name of the location.
Public propertylocationType
Specifies the kind of the location that it represents
  • HEAD_OFFICE - Location is the main head office of an organisational entity
  • WAREHOUSE - Location is a warehouse that may store an amount of stock
  • STORE - Location is a store that may sell goods and services
  • OFFICE - Location is an office where work is performed
  • SITE - Location is a site that has a defined area managed or used for business purposes.
  • THIRD_PARTY - Location is external to an organisation and may be owned or run by a separate entity
  • OTHER - The location type is not specified
The location type defaults to OTHER if no value is set.
Public propertylongitude
longitude co-ordinate of the geographic location. The number must be between 180 and -180
Public propertyphone
Phone number of the location
Public propertypostcode
Postcode or zip code of the location's address.
Public propertyproductStock
list of products stock level records that denote the products assigned to the location, and the quantity of product stock available for each
Public propertyregion
Name of the region/province/state where the location exists
Public propertywebsite
URL of the website that is associated to the location
See Also