I have been trying to make a turbo integrator process that update a dimension, which works perfectly fine.
The problem is that dimension have an approval hierarchy subset so I need the process to update it as well, since it has to be static and therefore I can't write an MDX expression to make it dynamic.
In the Epilog tab, right after updating my dimension, I added this code to update the subset:
Code: Select all
SubsetDeleteAllElements('MyDimension', 'MySubset');
vIdx = DIMSIZ('MyDimension');
while (vIdx > 0);
vElName = DIMNM('MyDimension', vIdx);
SubsetElementInsert('MyDimension', 'MySubset', vElName, 0);
vIdx = vIdx - 1;
end;
Code: Select all
[-] Element 8
[-] Element 7
[+] Element 6
[+] Element 5
Element 4
Element 3
Element 2
Element 1
Code: Select all
[-] Element 8
[-] Element 7
[-] Element 6
Element 3
Element 2
Element 1
[-] Element 5
Element 4
Thank you for your help !