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 |
---|---|
| Required. The name of the store. |
| The values for this property can be either a |
| The location ID of the store. This property must match the |
| This is an optional additional location ID. Use this if you have extra parameters for identifying your stores or locations. |
| 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. |
| The latitude of the store. |
| The longitude of the store. |
| A location can be constrained to a list of sites. If no site is defined, the location is available on all sites. |
| A location can be constrained to a list of site groups. If no site group is defined, the location is available on all sites. |
| A session-scoped property that contains the distance when searching for location items within the |
| The first address field of the store. For example, “100 Main Street”. |
| The second address field of the store. For example, “Sixth Floor” |
| The third address field of the store. For example, “Suite 10” |
| The city where the store is located. |
| The county where the store is located. |
| The state in which the store is located. |
| The postal code of the store. |
| The country of the store. |
| The phone number of the store. |
| The fax number of the store. |
| The e-mail address of the store. |
| This is a derived property that is set using |
A store
repository item contains the hours
property.