> For the complete documentation index, see [llms.txt](https://hub.equipme.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.equipme.io/documentation/portfolio-management/service-portfolio/mapping-based-on-time-period.md).

# Mapping based on time period

The feature allows you to configure **conditions based on subscription periods** directly in the **Bill of Materials (BOM)**. These conditions determine which items are included in an order, based on the subscription period selected by the customer. Importantly, even if you create additional offers (e.g., with special terms or prices), the BOM logic remains linked to the subscription periods, and no extra services are required in the mapping.

The feature allows you to define conditions based on subscription periods directly in the **Bill of Materials (BOM)**. This ensures that only the items relevant to the customer’s selected period are included in the order.

<figure><img src="/files/LAsoWFpa8tbwmgkItggm" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ksEUBIcjAfbuh2P8DDuh" alt=""><figcaption></figcaption></figure>

Here’s how it works step-by-step:

1. **Set Up a Service with Subscription Periods**:
   * Define subscription periods (e.g., 1 month and 12 months) within a single service.
   * Each period is linked to a corresponding item in the BOM.
2. **Configure Subscription Period Conditions**:
   * A new configuration option in the BOM lets you specify conditions based on subscription periods.
   * For example: If the customer selects a 12-month subscription, the system will include the yearly license item in the order.
3. **Automatic Selection During Orders**:
   * When a customer places an order, the system reviews the selected subscription period.
   * Based on this condition, the correct item is automatically added to the order.

**A Practical Example: Microsoft 365**

Imagine you sell Microsoft 365 licenses with monthly and yearly options. Previously, you might have created two separate services for these periods. Now, you can combine both into a single service:

1. Set up subscription periods: 1 month and 12 months.
2. Link the "1-month" subscription to a monthly license item in the BOM and the "12-month" subscription to a yearly license item.
3. Add offers for special customer pricing (e.g., discounted 12-month plans) without creating additional BOM mappings.
4. When a customer selects a period during an order, the system automatically includes the corresponding license item based on the BOM configuration.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hub.equipme.io/documentation/portfolio-management/service-portfolio/mapping-based-on-time-period.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
