Duplicate Logic Errors for CPLI Plans
Consider the following scenarios while creating or editing a record to avoid duplicate errors.
1. When Line Type = Parts/Labor/Travel, and Pricing Level is blank.
◦ No more than one line can have Discounted or Negotiated Price populated for the same Product or Product Family.
◦ Example 1:
▪ Line Type = Parts, Discount = 100%.
▪ Line Type = Parts, Discount = 50%. This throws a duplicate error message.
▪ Line Type = Parts, Negotiated Price = $50. This throws a duplicate error message.
◦ Example 2:
▪ Line Type = Parts, Product = Parts A, Discount = 100%.
▪ Line Type = Parts, Product = Parts A, Discount = 50%. This throws a duplicate error message.
▪ Line Type = Parts, Product = Parts A, Negotiated Price = $50. This throws a duplicate error message.
◦ Example 3:
▪ Line Type = Parts, Product Family = Printer, Discount = 100%.
▪ Line Type = Parts, Product Family = Printer, Discount = 50%. This throws a duplicate error message.
▪ Line Type = Parts, Product Family = Printer, Negotiated Price = $50. This throws a duplicate error message.
2. When Line Type = Expense, and Pricing Level is blank on Negotiated Price Line record.
◦ No more than one line can have Discounted or Negotiated Price populated for the same Expense Item.
◦ Example 1:
▪ Line Type = Expense, Expense Option = Meal, Discount = 100%.
▪ Line Type = Expense, Expense Option = Meal, Discount = 50%. This throws a duplicate error message.
▪ Line Type = Expense, Expense Option = Meal, Negotiated Price = $50. This throws a duplicate error message.
◦ Example 2:
▪ Line Type = Expense, Discount = 100%.
▪ Line Type = Expense, Discount = 50%. This throws a duplicate error message.
▪ Line Type = Expense, Negotiated Price = $50. This throws a duplicate error message.
3. When Pricing Level = Contract Line/ Entitled Service/ Contract Line & Entitled Service, and Product Type is left blank.
◦ No more than one line can have Discounted or Negotiated Price populated for the same Contract Line Item Plan and Entitled Service Plan for the same Line Type.
◦ Example 1:
▪ Pricing Level = Contract Line Item, Contract Line Item Plan = CLIP001, Discount = 100%.
▪ Pricing Level = Contract Line Item, Contract Line Item Plan = CLIP001, Discount = 50%. This throws a duplicate error message.
▪ Pricing Level = Contract Line Item, Contract Line Item Plan = CLIP001, Negotiated Price = $50. This throws a duplicate error message.
◦ Example 2:
▪ Pricing Level = Entitled Service, Entitled Service Plan = ESP001, Discount = 100%
▪ Pricing Level = Entitled Service, Entitled Service Plan = ESP001, Discount = 50%. This throws a duplicate error message.
▪ Pricing Level = Entitled Service, Entitled Service Plan = ESP001, Negotiated Price = $50. This throws a duplicate error message.
◦ Example 3:
▪ Pricing Level = Contract Line & Entitled Service, Contract Line Item Plan = CLIP001, Entitled Service Plan = ESP001, Discount = 100%
▪ Pricing Level = Contract Line & Entitled Service, Contract Line Item Plan = CLIP001, Entitled Service Plan = ESP001, Discount = 50%. This throws a duplicate error message.
▪ Pricing Level = Contract Line & Entitled Service, Contract Line Item Plan = CLIP001, Entitled Service Plan = ESP001, Negotiated Price = $50. This throws a duplicate error message.
4. When Pricing Level = Contract, and Product Type is left blank.
◦ No more than one line can have Discounted or Negotiated Price populated for the same Line Type.
◦ Example 1:
▪ Pricing Level = Contract, Discount = 100%.
▪ Pricing Level = Contract, Discount = 50%. This throws a duplicate error message.
▪ Pricing Level = Contract, Negotiated Price = $50. This throws a duplicate error message.