Enabling Date Calculation

The document describes the different ways you can choose from when enabling date calculation, which is used in the customer delivery schedule (CDS) process. They are:

Note: Date calculation is very important in CDS processing, and you should not change the method during delivery schedule production.

The date that is calculated depends on the date type selected. It can be:


Date calculation calculates the departure date/time and requested date/time.

Date calculation is used in customer delivery schedules (CDS) and when CDS interface the customer batch order entry.

The following tables are updated:

Before you start

Perform one of these prerequisites:

Follow these steps for CDS cate calculation

You can perform CDS date calculation in one of the following ways:

Note:  You should not mix these options when calculating date. It is logically impossible to understand the result of the date calculation if you use both delivery pattern and delivery calendar.
  1. CDS - Calculate Date Based on Delivery Pattern

    The delivery pattern can be used when there is no EDI support for delivery schedules. 'Delivery Schedule. Connect Demands' (RSS102) is entered manually. In this case, you use delivery pattern method 0 or 1.

    The delivery pattern can also be used when there is EDI support for delivery schedules and JIT call-off management is used. In this case, you use delivery pattern method 2 or 3.

    Use delivery patterns when you want to adjust received dates according to a recurring pattern of delivery dates

    Transportation lead time, defined in (DRS021), can also be included.

    This method will not allow you to have route planning.

  2. CDS - Calculate Date Based on Delivery Calendar

    Use a delivery calendar when you want to have a unique calendar per customer address. This allows you to have customer-specific departure dates or customer-specific goods receiving dates, and also move delivery dates backward when it is necessary.

    Transportation lead time, defined in (DRS021), can also be included.

    This method will not allow you to have route planning.

Follow these steps for TPL date calculation

  1. Calculate Date Based on Route Planning

    Calculate a date based on route planning when you use route management and route pre-selection in the dispatch flow.

    You can choose to use dispatches by shipment (transportation management) or to use dispatch by delivery number.

    If you use dispatches by delivery, you must at least set up:

    • Route, route departures
    • Route selection settings.

    If you use dispatches by shipment, you must also follow the settings in Settings for Transportation Management.

  2. Route, Route Departures, Unloading Places and Exceptions Settings

    A route always has a place of loading and may have one or more places of unloading. Routes do not have to have unloading places.

    The route's place of loading must match the place specified in 'Warehouse. Open' (MMS005). The route and route departure are retrieved by the system (connected to a CO line) via the settings on the F panel in 'CO Type. Update Field Selection' (OIS014) and on the E panel in 'Route Selection Table. Open' (DRS011).

  3. Route Selections Settings

    The route selection setups determine rules for how the system should select routes when a customer order line is created (that is, a delivery is created).

  4. Time Zone Management When Creating Stock Transactions

    • The time zone created in 'Time Zone. Open' (DRS045) is connected to 'Place. Open' (MMS008). Place is connected to warehouse, loading place, unloading place, and so on.
    • The registration date/time is a part of the primary key for stock transactions, and will always be seen as the 'machine time'. It is created automatically and cannot be changed.
    • The transaction point of time is primarily used for accounting purposes. This can be changed in some functions.

      See Time Zone, Entry Date and Transaction Date when Creating Stock Transactions.

Related topics