| To determine the VMI role |  |
| This topic describes how ERP LN determines the value of the VMI Role field in the Items - Planning (cprpd1100m000) session. Whenever you run order-based planning, ERP LN reevaluates the VMI Role field. ERP LN takes the entire period between current date and the planning horizon into account. If at any time in that period an applicable terms and conditions agreement is found, the VMI Role field is set to Customer or Supplier, even if this terms and conditions agreement is not effective at the current date. In this way, ERP LN ensures the order-based planning run carries out the VMI-functionality if it is needed. Overall procedure First, ERP LN checks whether the VMI role is Supplier; if not, ERP LN checks whether the VMI role is Customer. If neither applies, ERP LN sets the VMI Role field to Not Applicable. To check if you are the supplier To determine whether the VMI role is Supplier, ERP LN performs the following actions: ERP LN retrieves the plan item's cluster, based on the first segment of the plan item code and checks whether this cluster has a sold-to business partner. A cluster's sold-to business partner is defined in the Sold-to Business Partner field in the Clusters (tcemm1135m000) session. In the same session, you can optionally define a cluster's ship-to business partner. ERP LN searches for a valid terms and conditions agreement for the combination of item, sold-to business partner, and optionally ship-to business partner. A terms and conditions agreement defined for a group of items, such as an item group or product type, is valid for every item within that group of items. A terms-and-conditions agreement without an active sales contract is not a valid terms-and-conditions agreement. ERP LN finds the effective terms and conditions lines between the current date and the planning horizon, based on the terms and conditions search attributes. From the applicable record in the Planning Terms and Conditions (tctrm1135m000) session, ERP LN retrieves the value of the Responsible for Supply Planning check box. If the Responsible for Supply Planning check box is selected, ERP LN sets the VMI Role field to Supplier. To check if you are the customer To determine whether the VMI role is Customer, ERP LN performs the following actions: ERP LN searches for suppliers ( buy-from business partners ) with terms and conditions agreements effective between the current date ('now') and the planning horizon. ERP LN also retrieves the item's default warehouse. This terms and conditions agreement must be valid for the combination of item, buy-from business partners, and warehouse. A terms and conditions agreement defined for a group of items, such as an item group or product type, is valid for every item within that group of items. A terms-and-conditions agreement without an active purchase contract is not a valid terms-and-conditions agreement. ERP LN finds the effective terms and conditions lines between the current date and the planning horizon, based on the terms and conditions search attributes. From the applicable record in the Planning Terms and Conditions (tctrm1135m000) session, ERP LN retrieves the values of the Supply Planning by Supplier check box. If the Supply Planning by Supplier check box is selected, ERP LN sets the VMI Role field to Customer. Related topics Order planning, an overview Supply planning by supplier VMI business partner selection |