Validations

There are different client side validations at different levels of user modifications. In case of any validation failure an icon is shown at plan item or milestone level, along with proper error message on hover of the icon.

The following are the validations for plan item:

  1. Products, which were ordered in the order must always be part of the modified plan. For example, if you had ordered BPO_DUO in order line 1, then during modification the plan must always contain a plan-item with product BPO_DUO, here BPO_DUO can be associate to any available order line.
  2. Order lines, which were part of the original order must also be part of the modified plan. For example, if there were 2 order lines in the order and as part of the modified plan, plan-items must be associated to both the order lines.
  3. Product Id cannot be not null, each plan item must be associated to one product.
  4. Action Value cannot be null, each product of the plan item must be associated to an action.
  5. When you create a new user-defined field in Custom Header tab, name and value must not be null.
  6. At least one order line must be associate with each plan item.

Following are validations for milestone:

  1. Milestone id cannot be null. Each milestone when created or modified must be associated to a milestone id.
  2. Dependency row when created must not be empty. Each dependency row when created must have a point or time dependency associated to it.
  3. Proper section must exist in the plan fragment model when creating a new milestone.
  4. The intermediate milestone must have at least one dependency on it or from it.