A Fact is an attribute
that is used by an API or an agent in IBM® Sterling
Warehouse Management System to
identify which colony to connect to and retrieve data from. For example,
if information is required about a specific order, Facts enable the
Metadata schema to be used as a lookup to determine which Transaction
schema to connect to.
Following are the types of Facts in Sterling Warehouse Management System:
- ColonyId - Identifies the colony based on the ColonyId.
- PrimaryKey
- The first two digits of the Primary Key are used to identify a colony
through the Colony Prefix. In other words, when you create a new order,
all the Primary Keys of that order will be generated with the prefix
of that colony.
- LoginId - Identifies the colony from
the Metadata lookup table PLT_COLONY_MAP. This table maps each user's
LoginId to the colony that the user belongs to.
- OrganizationCode - Identifies the colony from the
Metadata lookup table PLT_COLONY_MAP. This table maps each organization
to the colony it belongs to.
If none of the facts can identify a colony, the DEFAULT
colony is used for accessing the data.