# Options

## Clear Logic

Clear Logic allows you to establish rules for clearing data in your VDT, helping you manage and manipulate data effectively.

<figure><img src="/files/Hi1Ix8wpYYDuA40mZYLy" alt=""><figcaption><p>Clear Logic</p></figcaption></figure>

To set up Clear Logic in VDT, follow these steps:

Step 1:  Navigate to the <img src="/files/qY631QKJY86upVI6PCpv" alt="" data-size="line">Preferences option located on the Level 2 Header. This was formerly labeled as Parameters.

Step 2:  Inside the Preferences, locate and check the **Enable Clear Logic** option.

Step 3: After checking the Enable Clear Logic option, you can proceed to insert and define clear rules. This process is similar to setting up a Standard Calculation - Clear within the Task settings.

## Interim step

The Interim Step function within the Value Driver Tree signifies that a particular metric serves as an intermediate step in reaching the final result. As such, there's no need to post the result of this metric into the model at the end of the calculation. This approach effectively reduces the redundancy of data and enhances the overall performance of the calculation process.

<figure><img src="/files/JoqEpw4thzbSPVuAOsoE" alt=""><figcaption><p>Interim Step</p></figcaption></figure>

Step 1: Access any VDT Metric with a Formula method. In the upper right corner of the Formula box, you will find a checkbox labelled Interim Step. Enable the checkbox by checking it.&#x20;

Step 2: Save the metric to confirm the change.

## Velocity Engine

The Velocity Engine is an in-memory calculation engine that uses application resources to efficiently calculate and process large volumes of data.

<figure><img src="/files/UcfBU0oPk1pm93Ny9TDP" alt=""><figcaption><p>Velocity Engine</p></figcaption></figure>

To enable the Velocity Engine for a Value Driver Tree, users can simply click on **Use Velocity Engine** within each Value Driver Tree Step under the Calculation Task.

## Data Locking by Version and Time

The Data Locking feature is intended to prevent accidental modifications to data during specific time periods. This functionality is applicable when saving data to input forms and calculation rule engines including :&#x20;

* Automatic Journal
* Value Driver Tree
* Currency Conversion
* Account Mapping
* Account Reclassification
* Allocation
* Intercompany Elimination
* Dataflow
* Standard Logics (Clear/Move/Copy)
* Data Upload

To enable data locking, go to <img src="/files/CmHTojSHY1BxpDMspBbw" alt="" data-size="line">**Model Schema**, then **Reference**, and check the <img src="/files/xGBQeC8v0Hvwz7h9jl9Z" alt="" data-size="line">**Allow Data Locking** checkbox.

<figure><img src="/files/KnaQ1qmEVS8FOMSGNbMD" alt=""><figcaption><p>Data Locking</p></figcaption></figure>

The following System Properties should be set up to use this feature :

* TIMEID in Time Field Type: This identifies the time sequencing property.
* EDIT\_FROM and EDIT\_TO (linked to Time) in Scenario Field Type: These properties define the allowed periods for each version.

After the setup, if you attempt saving input data or running calculation during a period that is not allowed for the selected version, you will see an error message indicating that the Version-Time combination is not permitted for posting.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.justperform.com/process-definition/calculations/value-driver-tree/options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
