Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store

Create scripted allocation metrics

Log in to subscribe to topics and get notified when content changes.

Create scripted allocation metrics

You can create scripted metrics and methods using the standard Cost Allocation Metric form.

Before you begin

Role required: cost_transparency_admin

About this task

You can create weighted metrics in scripted form and scripted methods Allocation metrics for more information.


  1. Navigate to Financial Modeling > Consumption Metrics > Create Scripted Weighted Metric.
  2. Click New.
  3. Select Scripted weighted metric or Scripted method in the Type field.
  4. Fill out the fields on the form as appropriate (see table).
  5. Click Submit.
    Figure 1. Example scripted metric
    The Cost Allocation Metric form
    Table 1. Scripted metric form fields
    Field Description
    Name Descriptive name of the metric.
    Allocation group The group associated with this metric. On the Cost Allocation Method form, the selection of the group limits the selection of the metric to only those metrics that use the group.
    System metric If this metric was created by the application in the workbench.
    Type The type of script. Select Scripted method or Scripted weighted metric to make the Script field appear.
    Script The script to calculate the allocation.
    Related List
    Cost Allocation Methods Methods that use the metric. You can add methods to the related list or navigate to the method form and select the metric you just created.
    Note: You cannot delete a rule that is referenced by a locked allocation line.