In a first general aspect, a computer program product tangibly embodied in
an information carrier is described. The computer program product
includes instructions that, when executed, perform operations for
identifying a source or destination for stock. The operations include
receiving an electronic request to determine a source or destination for
stock, identifying, using a primary rule, a logistic area database object
that represents a storage location at one of multiple levels of a
hierarchy of storage locations. The logistic area database object is
associated with a value that indicates an amount of stock that is
associated with the storage location. The operations also include
transmitting an identifier specifying the logistic area database object
if the value indicates that associated storage location is available as a
source or destination. The identifier is used to assign the storage
location as the source or destination for the stock.