Skip to Content
0
Feb 10, 2015 at 11:33 AM

Descendants level in BPC script

189 Views

Hi All,

I am using script to calculate subtotals in hierarchy and copy sums into other accounts. Target account codes is concatenation of source parent code and text "_subtotal".

To calculate sums we've created *FOR loop with static values for each parent code.

Is it possible to get those codes using script? Like we can use BAS(PARENT), I would like to use something like DESCENDANTS(PARENT,3), where 3 means "3rd level only", like in EPM Addin.