I am experiencing some behaviour that I don’t understand and was hoping someone could throw some light on the issue.
I have some year-end processes that among other things update an Admin cube to reflect the new year and also a process that deletes an old version.
The problem is that after I run the process to delete the old version and then I try to open a view I get an error saying “Error Creating View Array” and the system crashes. If I restart the sever everything works fine again.
However if I open a view before I run the process to delete the old year version everything works ok and there are no errors or crashes?
The TI process code (all on Prolog) to delete the old version is:
Code: Select all
vYear = Cellgets('UH_Admin','Value','Previous Year Desc');
vVersion = vYear | ' Current Version';
DimensionElementDelete('UH_Versions', vVersion);
Code: Select all
executeprocess('01.05a Admin Control Update CYR Admin Cube');
executeprocess('01.05b Admin Control Delete Current Version');
executeprocess('01.05c Admin Control Create NYR Attr');
Code: Select all
{TM1FILTERBYPATTERN( {TM1SUBSETALL( [UH_Versions] )}, [UH_Admin].([UH_Time_Measure].[Value], [UH_Time_Date].[Current Year Desc]) + " Current Version")}
cheers, Mark