CellPutN

CellPutN sends a numeric value to a cube cell.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

CellPutN(x, Cube, e1, e2 [,..., en]);
Table 1. CellPutN arguments

Argument

Description

x

A numeric value.

Cube

The name of the cube to which you want to send the value.

e1, e2, ..., en

Dimension element names that define the intersection of the cube to receive the value.

Arguments e1 through en are sequence-sensitive. e1 must be an element from the first dimension of the cube, e2 must be an element from the second dimension, and so on. These arguments can also be the names of aliases for dimension elements or TurboIntegrator variables.

Note: If you supply invalid arguments to the CellPutN() function in a TurboIntegrator process when the cube does not exist, an error is sent to the tm1server.log.

Example

CellPutN(12345, 'y2ksales', 'Actual', 'Argentina', 'S Series 1.8L Sedan', 'Sales', 'Jan');

This example sends the value 12345 to the intersection of the Actual, Argentina, S Series 1.8L Sedan, Sales, and Jan elements in the y2ksales cube.