Pricing Administration Guide > Testing and Validating Pricing Models > The Process of Testing Pricing Models >

Reloading the Pricing Model for Testing Purposes


To enhance performance, pricing models are cached when they are initially executed by a quote or order or initially unlocked.

After the cache has been created once, you must reload the model to cache any changes. You can do this at any time, as mentioned above, because the caching process can take place whether the pricing model is locked or unlocked.

To test a pricing model, you must save it and reload it into the cache, so you have the latest of that model in the cache.

Always make a backup copy of a model before updating it.

The safest practice is to use a test database for changing or updating the model and validating the model. If it is not possible to use a test database, use a dedicated application server for testing. This minimizes any chance of changing a cache that might be accessed by runtime users.

After you complete the validation of the model, you must unlock the model and reload it to make sure that the model is updated in the cache in the application server.

CAUTION:  When you load a new version of a pricing model into the cache, that version is used by the current application server. If you load a testing model into the cache on the server used for live runtime users, you could overwrite the pricing model cache used by runtime users, replacing it with the test model. Consult with your Server Administrator to develop procedures that allow you to cache models safely during testing.

To reload a pricing model for testing

  1. From the application-level menu, choose View > Site Map > Pricing Administration > Pricing Model Manager.
  2. The Pricing Model Manager list appears.

  3. In the Pricing Model Manager list, select the pricing model you want to reload.
  4. Lock the pricing model, if it is not already locked.
  5. The check box in the Locked column should contain a check mark.

  6. Be sure the Pricing Model to reload is selected. It should be the current record.
  7. In the Pricing Model Manager list, click the menu button, and then Reload.

 Pricing Administration Guide 
 Published: 18 April 2003