Cube DataareaSetValue (10.6.0)

Sets all values of a data area to a new value or clears all values of a data area. The data area used for this operation is the last data area that has been defined on this session.

You can aggregate data using the year to date functionality. See the "Writing YTD data" topic.

Request

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001" Class="Cube" Method="DataareaSetValue">
    <Alea:Value />
    or
    <Alea:Value>17.5</Alea:Value>
    or
    <Alea:Value Type="String">Test</Alea:Value>
  </Alea:Request>
</Alea:Document>

This tables describes the options for Value:

Option Description
empty Target data area is cleared.
non-empty Value is treated as a numeric value and is written to all target cells accordingly.
Attribute 'Type' with the value 'String' The content of the Value element is treated as a string value and is written to the target area data area.

Answer

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Return/>
  </Alea:Request>
</Alea:Document>

Error

<Alea:Document xmlns:Alea="http://www.misag.com">
  <Alea:Request RequestID="001">
    <Alea:Error ErrorID="error_code"/>
  </Alea:Request>
</Alea:Document>