Consolidate a rule based consolidation item
Posted: Thu Oct 30, 2008 6:23 am
Hello Everybody,
I am modifiying an existing "balance sheet" cube and need to set up rules to display a value in either one chapter or another of the balance depending of it's signage.(For a defined list of accounts)
If net value YTD > 0 then display into Receivable
ElseIf net value YTD > 0 then display into Payable
My time period structure is as following :
Conso "YTD Jan" =
N Level "Wk1" + N Level "Wk2" + N Level "Wk3" + N Level "Wk 4" + N Level "Wk 5" + N Level "Jan Adj"
Conso "YTD Feb" =
N Level "Wk1" + N Level "Wk2" + N Level "Wk3" + N Level "Wk 4" + N Level "Wk 5" + N Level "Jan Adj"
+ N Level "Wk6" + N Level "Wk7" + N Level "Wk8" + N Level "Wk 9" + N Level "Feb Adj"
In my Accounts dimension, I have :
C Balance
C Assets
C Receivables
N "Acct 1 - Rec."
C Liabilities
C Payables
N "Acct 1 - Pay."
And Outside of the main balance hierachie
C Total Balancing Acct
N "Acct 1"
In my rules/feeders,
i tryed to feed and calculate the "YTD Jan", "Acct 1 - Rec." with the net value for "YTD Jan", "Acct 1".
Feeders :
["Acct 1","YTDJan"] => ["Acct 1 - Rec.", "YTD Jan"] ;
["Acct 1","YTDJan"] => ["Acct 1 - Pay.", "YTD Jan"] ;
Rule :
["Acct 1 - Rec.", "YTD Jan"] = C: IF ( ["Acct 1","YTDJan"] >0 , ["Acct 1","YTDJan"] , 0 ) ;
["Acct 1 - Pay.", "YTD Jan"] = C: IF ( ["Acct 1","YTDJan"] <0 , ["Acct 1","YTDJan"] , 0 ) ;
It works fine and the value i am expected is displayed for YTD Jan in front of the right account in receivables.
Problem,
the value is not taken into the further consolidations performed in the Account hierarchie...
I.E : Total Receivable won't take into account the result sent in "Acct 1 - Rec."
I guess it has something to do with the fact that i am calculating at Consolidated level.
Do i have then to manage the calculation througth rules up to the top level of consolidation in my account hierarchie ?
Or do i have the obligation to calculate at N Level in order to have the value taken into account ?
Thanks for any advice or comment.
Kind Regards,
Olivier
I am modifiying an existing "balance sheet" cube and need to set up rules to display a value in either one chapter or another of the balance depending of it's signage.(For a defined list of accounts)
If net value YTD > 0 then display into Receivable
ElseIf net value YTD > 0 then display into Payable
My time period structure is as following :
Conso "YTD Jan" =
N Level "Wk1" + N Level "Wk2" + N Level "Wk3" + N Level "Wk 4" + N Level "Wk 5" + N Level "Jan Adj"
Conso "YTD Feb" =
N Level "Wk1" + N Level "Wk2" + N Level "Wk3" + N Level "Wk 4" + N Level "Wk 5" + N Level "Jan Adj"
+ N Level "Wk6" + N Level "Wk7" + N Level "Wk8" + N Level "Wk 9" + N Level "Feb Adj"
In my Accounts dimension, I have :
C Balance
C Assets
C Receivables
N "Acct 1 - Rec."
C Liabilities
C Payables
N "Acct 1 - Pay."
And Outside of the main balance hierachie
C Total Balancing Acct
N "Acct 1"
In my rules/feeders,
i tryed to feed and calculate the "YTD Jan", "Acct 1 - Rec." with the net value for "YTD Jan", "Acct 1".
Feeders :
["Acct 1","YTDJan"] => ["Acct 1 - Rec.", "YTD Jan"] ;
["Acct 1","YTDJan"] => ["Acct 1 - Pay.", "YTD Jan"] ;
Rule :
["Acct 1 - Rec.", "YTD Jan"] = C: IF ( ["Acct 1","YTDJan"] >0 , ["Acct 1","YTDJan"] , 0 ) ;
["Acct 1 - Pay.", "YTD Jan"] = C: IF ( ["Acct 1","YTDJan"] <0 , ["Acct 1","YTDJan"] , 0 ) ;
It works fine and the value i am expected is displayed for YTD Jan in front of the right account in receivables.
Problem,
the value is not taken into the further consolidations performed in the Account hierarchie...
I.E : Total Receivable won't take into account the result sent in "Acct 1 - Rec."
I guess it has something to do with the fact that i am calculating at Consolidated level.
Do i have then to manage the calculation througth rules up to the top level of consolidation in my account hierarchie ?
Or do i have the obligation to calculate at N Level in order to have the value taken into account ?
Thanks for any advice or comment.
Kind Regards,
Olivier