SetData

Sets an individual record. This function can be used in these types of rules:

  • Calculation

  • Translation

Syntax

HS.SetData lView, lAccount, lICP, lCustom1, lCustom2, lCustom3,lCustom4, dData, bAddToExistingData
         

Table 11-46 Syntax for SetData Function

Parameter Description

lView

0 = Scenario View

1 = Periodic

2 = YTD

lAccount

ID number of the account to which you are setting data.

lICP

ID number of the ICP to which you are setting data.

lCustom1...4

ID number of the Custom dimension to which you are setting data.

dData

The data value to set.

bAddToExistingData

True = To accumulate the data

False = To replace the data

Return Value

None.

Example

HS.SetData 2, 002, , , , , , 25000, TRUE