Create scripted allocation metrics You can create scripted metrics and methods using the standard Cost Allocation Metric form. Before you beginRole required: cost_transparency_admin About this task You can create weighted metrics in scripted form and scripted methods Allocation metrics for more information. Procedure Navigate to Financial Modeling > Consumption Metrics > Create Scripted Weighted Metric. Click New. Select Scripted weighted metric or Scripted method in the Type field. Fill out the fields on the form as appropriate (see table). Click Submit. Figure 1. Example scripted metric 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. See Allocation Methods for instructions. Note: You cannot delete a rule that is referenced by a locked allocation line.