| # To determine the VMI Relation This topic describes how ERP Enterprise determines the value of the VMI Relation field in the Items - Planning (cprpd1100m000) session. Whenever you run order-based planning, ERP Enterprise reevaluates the VMI Relation field. ERP Enterprise 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 Relation 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 Enterprise ensures the order-based planning run carries out the VMI functionality if it is needed and makes the VMI related sessions and features available. Overall procedure First, ERP Enterprise checks whether the VMI role is Supplier; if not, ERP Enterprise checks whether the VMI role is Customer. If neither applies, ERP Enterprise sets the VMI Relation field to Not Applicable. To check if you are the supplier To determine whether the VMI role is Supplier, ERP Enterprise performs the following actions: ERP Enterprise 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 Enterprise 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 Enterprise 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 Enterprise retrieves the value of the Responsible for Supply Planning check box. If the Responsible for Supply Planning check box is selected, ERP Enterprise sets the VMI Relation field to Supplier. To check if you are the customer To determine whether the VMI relation is Customer, ERP Enterprise performs the following actions: ERP Enterprise searches for suppliers ( buy-from business partners) with terms and conditions agreements effective between the current date ('now') and the planning horizon. ERP Enterprise also retrieves the plan 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. Similarly, a terms and conditions agreement in which no warehouse is specified is valid for all items. A terms-and-conditions agreement without an active purchase contract is not a valid terms-and-conditions agreement. ERP Enterprise 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 Enterprise retrieves the values of the Supply Planning by Supplier check box. If the Supply Planning by Supplier check box is selected, ERP Enterprise sets the VMI Relation field to Customer. Related topics Order planning, an overview Supply planning by supplier VMI business partner selection |