CubeGetLogChanges
Description:
Checks whether logging of a cube is turned on
Syntax:
CubeGetLogChanges(CubeName);
Arguments:
CubeName - The name of the cube for which you want to check
Return Type:
1 - If logging is turned on
0 - If logging is turned off
Example:
If(CubeGetLogChanges('SalesPlan') = 0);
TextOutput('D:cubelog.txt','Logging is turned off');
EndIf;
This code will check if logging is turned on for a cube, and if it doesn't, writes a log.