/
Model Logic Key Methods

Model Logic Key Methods

Model Evaluation Logic Methods:

Include a Configurator:

api.inlineConfigurator(“ConfiguratorName”, "LogicName")

 

Get an Input from the Configurator:

input[“ConfiguratorName”][“inputName”]

 

Read tables:

def query = api.getDatamartContext().newQuery(model.table(“tableName”), false)

Model Calculation Logic Methods:

Get an Input from the Configurator:

 

Create Table:

 

Read Table:

 

Read Table with SQL:

 

Load Table:

 

Load Table with SQL:

 

Load Table by Row:

Get the Output in the Same Calculation:

 

Get the Output of Another Calculation:

 

Model Parallel Calculation Logic Methods:

Add Items in the Init Phase:

 

Get Items in the Item Phase:

 

Add Items in the Item Phase:

 

Retrieve Items in the Summary Phase:

 

Found an issue in documentation? Write to us.