Promotions are defined by currency code and can be restricted to a specific market (in the latter case the currency code is inherited by the market's price list). When triggered, promotions are responsible for adding a discount (based on the promotion type) to the orders involved. Within the time window given by their activation and expiration dates, promotions that have not reached their total usage limit are considered active. If no promotion rule is associated with an active promotion, the related discount is applied to all the orders in the specified currency (or to all the orders of the market in scope if the promotion is attached to a market). Otherwise, if one or more promotion rules are defined, the promotion is triggered only when it matches all of them.