Service Catalog Variable Pricing

From SNCWiki

Jump to: navigation, search
Service Catalog Variables
Related Topics

Contents

Overview

You can modify the price of a catalog item using variables. This lets you have the price dynamically calculated based on how a user completes the ordering form.

You might want the cost of an item to be dependent on:

  • Options the user selects (extra memory in a PC, higher-end video card, etc.)
  • Location or company of the end user
  • Any other criteria you can think of that you want to affect the ordering price


Variable Types That Can Effect Pricing

The following variable types can be configured to affect the total cost of an item:

  • CheckBox
  • Multiple Choice
  • Reference
  • List Collector
  • Select Box
  • Lookup Select Box


CheckBox

You can specify that a CheckBox variable, if checked, modifies the price of the item being ordered. Simply use the "Price if checked" field to specify the price difference for that variable.

Multiple Choice

For a Multiple Choice variable, the price difference is specified using the Price field on the question choices. When a selection is made, the ordering price is dynamically updated to reflect the choice that was selected.

Select Box

Same as a Multiple Choice variable, only appears as a select box instead.

Reference

For a Reference variable, there is a "Pricing implications" field on the variable. If this field is checked, and if there is a "price" or "u_price" field on the referenced table, the value of that field will be used to modify the cost of the item being ordered when a reference value is selected.

e.g., if computers in Phoenix cost $100 more than normal, and they cost $100 less than normal in Boise, you can set up a reference variable to the cmn_location (Location) table, put a "u_price" field on the Location table, and set that field to 100 for the Phoenix location and -100 for the Boise location. When ordering a computer, if Phoenix is selected as the location for this variable, the ordering price will be increased by $100.

List Collector

Same as a Reference variable, only uses the "List table" field to specify the table being referenced. Since it is a List Collector variable, multiple selections can be made which all will modify the ordering price.

Lookup Select Box

A Lookup Select Box variable is a more powerful than a Reference variable. You specify the following when creating the variable:

  • Lookup from table - the table from which values will be queried
  • Lookup value field - the field on the lookup table whose value will be used as the variable's value (typically sys_id)
  • Lookup label field(s) - a comma-separated list of fields on the lookup table whose values will be used to display the selections in the select box (e.g., "manufacturer,name" for the cmdb_ci_spkg table might make your selections appear as:
    • Microsoft | Excel
    • Adobe | Photoshop Elements
    • (and so on)
  • Lookup price field - the field whose value will be used to modify the price of the item being ordered


Extend the pricing model

Customers or consultants can extend the Service Catalog pricing model. The calculations to determine catalog item price are done in the CatalogPriceCalculator script include. From the left navigation pane, select System Definition > Script Includes. Should you have a need to modify how the calculations are done, you would do so there.

Personal tools
book creator
Print/export