Lead time calculations
Summarize
Summary of Lead time calculations
Lead time calculations in ServiceNow determine the total number of days required to execute a purchase order for supplier products by aggregating durations for supplier onboarding, sourcing, purchasing, and shipping. These calculations apply at various levels including supplier products, product models, and product categories, helping customers accurately plan procurement timelines.
Show less
Supplier Onboarding Time
This metric represents the average days needed to onboard a new supplier for a product or category. The default is 15 days, configurable via purchasing properties. It is dynamically updated based on actual durations from completed onboarding tasks linked to purchase requisitions. Calculations are performed by averaging onboarding durations per product category, rounding up decimals.
Sourcing Time
Sourcing time measures the average days to source a product from a supplier when sourcing is necessary. The initial default is 3 days and updates over time using completed sourcing request durations. This time cascades upwards from supplier product to product model and then to product category averages. Important notes include:
- If a product category is marked as "Not Addressable" for spend categorization, sourcing time is zero.
- Purchase lines in "Closed Canceled" state do not affect sourcing time calculations.
- For new product models or supplier products, sourcing times inherit values from their referenced category or model.
Purchasing Time
Purchasing time indicates the average days needed to complete purchase requisition workflows and generate purchase orders for products within a category. The default is 5 days and is updated from actual durations of completed purchase requisitions. The calculation averages durations from supplier products to product models, then to product categories. Blanket order types are excluded from updates. All decimals are rounded up.
Shipping Time
This time estimates the days required to ship a supplier product to its delivery location, derived from the supplier's shipping time record. Updates to supplier shipping times propagate to associated supplier products. For products created via third-party integrations, shipping times come from integration data. If the product type is a service, shipping time is always zero.
Total Lead Time
Total lead time aggregates the relevant durations to estimate the full procurement cycle from purchase order execution to delivery. It is calculated differently depending on whether sourcing and supplier onboarding are required:
- If both sourcing and onboarding are required: sum of onboarding time (from product category), sourcing time, purchasing time, and shipping time.
- If only sourcing is required: sum of sourcing time, purchasing time, and shipping time.
- If only onboarding is required: sum of onboarding time, purchasing time, and shipping time.
- If neither is required: sum of purchasing time and shipping time.
Total lead time recalculates whenever relevant fields are updated on the supplier product form and after each purchase requisition completion, considering data from the recent 12 months only.
Lead time (in days) of a supplier product consist of the time for sourcing, supplier onboarding, purchasing, and shipping for a supplier product, product model, or a product category. Each of these durations are used to calculate the total lead time which determines the number of days to execute a purchase order.
Supplier onboarding time
Supplier onboarding time indicated the average number of days to onboard a new supplier for a product of a category. The initial default value is 15 days, as defined in the sn_shop.default.supplier.onboard.time property of the purchasing properties table.
When a purchase requisition is created for a supplier product, it can have a purchasing task of type supplier onboarding. Over time, as purchase requisitions are completed, the onboarding time for a supplier is updated automatically as follows:
For a product category: Supplier onboarding time = Sum [Actual Duration of supplier tasks for purchase requisitions with purchase lines in a category]/Number of Supplier onboarding tasks.
| Purchase Requisition A for Supplier A | Purchase Requisition B for Supplier B | Purchase Requisition C for Supplier C |
|
|
|
| Calculated supplier onboarding time in days | ||
Note: If the calculation produces a decimal, always round up regardless of the
value. |
||
Sourcing time
Sourcing time indicates the average number of days taken to source a product from a supplier, if sourcing is required for products of a category.
The initial default value is three days, as defined in the sn_shop.default.sourcing.time property of the purchasing properties table. This value is updated over time, as sourcing requests for a supplier product are completed.
- The actual duration values of all sourcing requests for supplier products are considered. An average of these values is calculated. This average is the new default sourcing time for this supplier product.
- When the sourcing time is updated for a supplier product, it is recalculated for the related product model as an average of the sourcing times of all its supplier products.
- When the sourcing time is updated for a product model, it is recalculated for the related product category as an average of the sourcing times of all its product models.
For any new product model, the sourcing time is the same as its referenced model category. For any new supplier product, the sourcing time is the same as its referenced product model.
- If Spend categorization of a product category is Not Addressable, the sourcing time is always 0.
- If the Purchase Line is of the state Closed Canceled, it indicates that sourcing did not occur for that purchase line. In this case, the average sourcing time of the supplier product is not updated.
Example calculation of sourcing time:
| Sourcing Request A for MacBooks | ||
| Actual duration = 16 days | ||
Purchase line 1 – Reseller A MacBook
|
Purchase Line 2 – Reseller B MacBook
|
Purchase Line 3 – Apple MacBook (assume current sourcing time is 11 days)
|
| Sourcing Request B for Lenovo Think Pads | ||
| Actual duration = 22 days | ||
Purchase line 4 – Reseller A Lenovo Think Pad
|
Purchase Line 5 – Reseller B Think Pad
|
|
| Calculated sourcing time in days | ||
Note: If the calculation produces a decimal, always round up regardless of the
value. |
||
Purchasing time
Purchasing time indicates the average number of days taken to complete the purchase requisition workflow and create purchase orders for products in a category.
The initial default value is five days, as defined in the sn_shop.default.purchasing.time property of the purchasing properties table. This value is updated over time, as purchase requisitions for a supplier product are completed.
- The actual duration values to complete all purchase requisitions for supplier products are considered. An average of these values is calculated. This average is the new default purchasing time for this supplier product.
- When the purchasing time is updated for a supplier product, it is recalculated for the related product model as an average of the purchasing times of all its supplier products.
- When the purchasing time is updated for a product model, it is recalculated for the related product category as an average of the purchasing times of all its product models.
| Purchase Requisition A for Reseller A | Purchase Requisition B for Reseller B | Purchase Requisition C for Reseller B | Purchase Requisition D for Reseller A |
|
|
|
|
| Calculated purchasing time in days | |||
Note: If the calculation produces a decimal, always round up regardless of the
value. |
|||
Shipping time
Shipping time indicates the estimated number of days taken to ship a supplier product to a delivery location. This value is retrieved from the shipping time of a supplier.
Whenever the shipping time for a supplier is updated, the shipping times of all the supplier products belonging to that supplier reflect the same.
Total lead time
Total lead time indicates the numbers of days taken to execute the purchase order of a supplier product and deliver it to the employee.
- If sourcing and supplier onboarding are required,
Total lead time = [Supplier onboarding time from the referenced product category] + [Sourcing time of the supplier product] + [Purchasing time for the supplier product] + [Shipping time of the supplier product].
- If sourcing is required but supplier onboarding is not required,
Total lead time = [Sourcing time of the supplier product] + [Purchasing time for the supplier product] + [Shipping time of the supplier product].
- If sourcing is not required and supplier onboarding is required,
Total lead time = [Supplier onboarding time from the referenced product category] + [Purchasing time for the supplier product] + [Shipping time of the supplier product].
- If sourcing and supplier onboarding are not required,
Total lead time = [Purchasing time for the supplier product] + [Shipping time of the supplier product].
The total lead time of a supplier product is recalculated every time the values of the above fields on the supplier product form are updated.