Intercube feeder
Posted: Thu Jun 10, 2010 10:58 am
Hi Guys
I have a rule which collects data from another cube via an attribute however I am having difficulty getting the feeder to work, not sure if it's my syntax or if I have forgotten a process when using intercube feeders. Vaguely remember being told to unload both cubes to get them to work or something of that nature?
Rule is
['ACTUAL','Local Currency','Periodic','CG11210_a','PR04070200','HBPL-010-999-99','A 00-000','CGRS','INTL - Primary']=N:
DB('Cube1',!Year,!Months,'631003','CUG005',attrs('MI_Group_Account',!MI_Group_Account,'PL_CGRS'),'Total');
Feeder is
['631003','CUG005',{'Balance','Adjustment'}]=>
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG11210_a','PR04070200','HBPL-010-999-99',!Group_Account,'A 00-000','CGRS','INTL - Primary');
If I hardcode the "!Group_Account" in my feeder it works however when I want all the accounts it dies.By the way in Cube2 it is called "MI_Group_Account" and in Cube1 it's "Group_Account
To give you an idea of the feeders I have tried
['631003','CUG002',{'Balance','Adjustment'}]=>
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account',!Group_Account,'PL_CGRS'),'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account','Group_Account','PL_CGRS'),'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98','Group_Account','A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',!Group_Account,'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98','MI_Group_Account','A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account','MI_Group_Account','PL_CGRS'),'A 00-000','CGRS','INTL - Primary');
None of these produced a syntax error however none of them worked either !
Thanks in advance
Jon
I have a rule which collects data from another cube via an attribute however I am having difficulty getting the feeder to work, not sure if it's my syntax or if I have forgotten a process when using intercube feeders. Vaguely remember being told to unload both cubes to get them to work or something of that nature?
Rule is
['ACTUAL','Local Currency','Periodic','CG11210_a','PR04070200','HBPL-010-999-99','A 00-000','CGRS','INTL - Primary']=N:
DB('Cube1',!Year,!Months,'631003','CUG005',attrs('MI_Group_Account',!MI_Group_Account,'PL_CGRS'),'Total');
Feeder is
['631003','CUG005',{'Balance','Adjustment'}]=>
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG11210_a','PR04070200','HBPL-010-999-99',!Group_Account,'A 00-000','CGRS','INTL - Primary');
If I hardcode the "!Group_Account" in my feeder it works however when I want all the accounts it dies.By the way in Cube2 it is called "MI_Group_Account" and in Cube1 it's "Group_Account
To give you an idea of the feeders I have tried
['631003','CUG002',{'Balance','Adjustment'}]=>
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account',!Group_Account,'PL_CGRS'),'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account','Group_Account','PL_CGRS'),'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98','Group_Account','A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',!Group_Account,'A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98','MI_Group_Account','A 00-000','CGRS','INTL - Primary'),
DB('Cube2','Act-Adj',!Year,!Month,'Local currency','Periodic','CG12500_a','PR04070200','HBPL-003-999-98',attrs('MI_Group_Account','MI_Group_Account','PL_CGRS'),'A 00-000','CGRS','INTL - Primary');
None of these produced a syntax error however none of them worked either !
Thanks in advance
Jon