The Location repository ties inventory records to specific locations. The repository is defined in the /atg/config/commerce/location/locationRepository.xml definition file. Every location in the repository identifies a store or warehouse that can house inventory. The repository defines two repository items, location and store.

A location repository item has the following properties. Additional information is provided if necessary:

Property

Description

name

Required. The name of the store.

type

The values for this property can be either a location (0), the default, or store (1).

locationId

The location ID of the store. This property must match the locationId of the inventory item.

externalLocationId

This is an optional additional location ID. Use this if you have extra parameters for identifying your stores or locations.

startDate/endDate

Used when performing a search for inventory available from a store during a specific date range. If the search contains a specific date range, only locations that have a date that are contained within that date range will be displayed.

latitude

The latitude of the store.

longitude

The longitude of the store.

sites

A location can be constrained to a list of sites. If no site is defined, the location is available on all sites.

siteGroups

A location can be constrained to a list of site groups. If no site group is defined, the location is available on all sites.

distance

A session-scoped property that contains the distance when searching for location items within the CoordinateManager.

address1

The first address field of the store. For example, “100 Main Street”.

address2

The second address field of the store. For example, “Sixth Floor”

address3

The third address field of the store. For example, “Suite 10”

city

The city where the store is located.

county

The county where the store is located.

stateAddress

The state in which the store is located.

postalCode

The postal code of the store.

country

The country of the store.

phoneNumber

The phone number of the store.

faxNumber

The fax number of the store.

email

The e-mail address of the store.

geocode

This is a derived property that is set using latitude and longitude.

A store repository item contains the hours property.


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices