Show TOC

Example documentationDefinition of a Condition for Time Windows Locate this document in the navigation structure

 

This example shows how you define a condition for a time window depending on the freight unit type.

In this case, you define a condition with the condition type /SCMTMS/TOR_TIMEWIND based on a decision table.

As the data access definition, enter /SCMTMS/TOR_TYPE (business document type of freight order management).

Depending on the freight order type, you specify in the decision table which durations and rounding rules the system is to use when calculating the times for the time window.

In the Earliness and Delay fields, you specify whether the system is to treat an earliness or delay as a constraint and, if yes, as which sort of constraint:

  • As a soft constraint

  • As a hard constraint

  • As a soft and hard constraint

If you have entered soft constraint or soft and hard constraint, in the Prem. Stay (premature stay) field and the Del. Stay(delayed stay) field, enter the required time period in the format HH:MM.

If you entered hard constraint or soft and hard constraint, in the EarlstStay (earliest stay) field and the Lat. Stay (latest stay) field, enter the required offset in the format HH:MM.

In addition, you can specify whether the system is to round to complete days.

You can enter different values for the delivery and the pickup. To do so, enter a second data access definition /SCMTMS/TOR_STOP_CAT.

In the decision table, specify the following values for pickup:

Stop Type

Earliness

Delay

EarlstStay (earliest stay)

Round

O (pickup)

2 (hard constraint)

0 (no consideration as constraint)

0

True

This means that the pickup may not take place earlier than agreed. A delay is acceptable. The system is to round the pickup date.

You specify the following values for the delivery:

Stop Type

Earliness

Delay

Lat. Stay (latest stay)

Round

I (delivery)

0 (no consideration as constraint)

2 (hard constraint)

0

False

This means that the delivery may not take place later than agreed. An early delivery is acceptable.

Since the time of the delivery date defined by the customer is to be adhered to, specify that the system is not to round it to full days.