Date Calculation for Purchases

Business Central automatically calculates the date on which you must order an item to have it in inventory on a certain date. This is the date on which you can expect items ordered on a particular date to be available for picking.

If you specify a requested receipt date on a purchase order header, then the calculated order date is the date on which the order must be placed to receive the items on the date that you requested. Then, the date on which the items are available for picking is calculated and entered in the Expected Receipt Date field.

If you do not specify a requested receipt date, then the order date on the line is used as the starting point for calculating the date on which you can expect to receive the items and the date on which the items are available for picking.

Calculating with a requested receipt date

If there is a requested receipt date on the purchase order line, then that date is used as the starting point for the following calculations.

  • requested receipt date - lead time calculation = order date
  • requested receipt date + inbound whse. handling time + safety lead time = expected receipt date

If you entered a requested receipt date on the purchase order header, then that date is copied to the corresponding field on all the lines. You can change this date on any of the lines, or you can remove the date on the line.

[!NOTE] If your process is based on backward calculation, for example, if you use the requested receipt date to get the order date, we recommend that you use date formulas that have fixed durations, such as "5D" for five days or "1W" for one week. Date formulas without fixed durations, such as "CW" for current week or CM for current month, can result in incorrect date calculations. For more information about date formulas, see Work with Calendar Dates and Times.

Calculating without a requested delivery date

If you enter a purchase order line without a requested delivery date, then the Order Date field on the line is filled with the date in the Order Date field on the purchase order header. This is either the date that you entered or the work date. The following dates are then calculated for the purchase order line, with the order date as the starting point.

  • order date + lead time calculation = planned receipt date
  • planned receipt date + inbound whse. handling time + safety lead time = expected receipt date

If you change the order date on the line, such as when items are not available at your vendor until a later date, then the relevant dates on the line are automatically recalculated.

If you change the order date on the header, then that date is copied to the Order Date field on all the lines, and all the related date fields are then recalculated.

Default values for lead time calculation

Business Central uses the value from the Lead Time Calculation field on the purchase order line to calculate the order and the expected receipt dates.

You can manually specify the value on the line or let the program use values that are defined on the vendor card, item card, stockkeeping unit card, or the item vendor catalog. However, the lead time value on the vendor card is used only if a lead time is not specified on the item card, stockkeeping unit card, or the item vendor catalog for the item. This is also the escalating order of priority for these values. If they are all provided, the lead time from the vendor card has the lowest priority, and the lead time from the item vendor catalog has the highest priority.

See Also

Date Calculation for Sales
Calculate Order Promising Dates
Work with Business Central

--- author: edupont04

ms.topic: include ms.date: 12/20/2021 ms.author: edupont

Business Central on Microsoft Learn