Computing Values of All Computed Properties
A Computed Property is a numeric Property that displays the calculated value of a mathematical expression that you define. The expression may include numeric and date type Object Properties, date and time functions, mathematical functions, and mathematical operators.
|
Example 1. Amount is a Computed Property available in the Purchase List tab of the Order and Opportunity windows. The value of the Amount Property is computed using the following expression: Amount = Quantity * Base Price - Discount 2. Revenue is a Computed Property available in the Properties tab of the Opportunity and Order windows. The value of the Revenue Property is computed using the following expression: Revenue = Sum (Amount), where Amount is a Computed Property in the Purchase List tab of the Opportunity and Order windows. 3. Computed Properties can also be based on the Property of a related Object. Campaign Cost is a Computed Property available in the Properties tab of the Campaign window. Its value is calculated using the following expression: Campaign Cost = Sum (Target.Cost), where the cost of the Campaign is calculated as the sum of all the costs incurred on Targets in a Campaign. |
|
Note The value of a Computed Property can be calculated by clicking |
The Compute All Button
The
button is used to compute the values of all the Computed Properties of an Object. To compute the values of all the Computed Properties in an Object, click
in the toolbar of the Object window.
|
Example The Order Object comprises the Computed Properties, Amount, in the Product tab, and Revenue in the Properties tab. After setting the Product Properties for an Order, click the |
|
Note The |
|
Tip You can also use the F9 shortcut key to compute all the values of the Computed Properties of an Object. |