Can I write a feeder...
Posted: Tue Mar 09, 2010 6:47 pm
using the DB/ATTRS functionality in this formula/rule?
Formula:
[{‘Acct 1’, ‘Acct 2’, ‘Acct 3’……’Acct 100’} ] =
DB('G&A Expense Calc', !Version, !Department, !Country, !Month, !Portfolio, ATTRS('G&A Expense Calc', !G&A Expense Calc, 'Attrb 1')) *
DB('G&A Expense Calc', !Version, !Department, !Country, !Month, !Portfolio, ATTRS('G&A Expense Calc', !G&A Expense Calc, 'Attrb 2'));
It works like this;
'Acct 1' = 'Rent Expense Allocated'
Attrb 1 is Total Expense by Acct Description....(ie> 'Total Rent')
Attrb 2 is % Allocation by Acct Description.......(ie> '% Rent to Be Allocated')
Obviously, I used the attributes to avoid writing this rule 100 times, but I don't know how to incorporate the feeder. I don't know if it's possible to use the formula portion above in the left side of the feeder. I've tried, but I keep getting error messages like 'missing [' . I'd prefer not to have to write the feeder for every one of these accounts.
I'd appreciate any feedback.
Thank you,
Christian
Formula:
[{‘Acct 1’, ‘Acct 2’, ‘Acct 3’……’Acct 100’} ] =
DB('G&A Expense Calc', !Version, !Department, !Country, !Month, !Portfolio, ATTRS('G&A Expense Calc', !G&A Expense Calc, 'Attrb 1')) *
DB('G&A Expense Calc', !Version, !Department, !Country, !Month, !Portfolio, ATTRS('G&A Expense Calc', !G&A Expense Calc, 'Attrb 2'));
It works like this;
'Acct 1' = 'Rent Expense Allocated'
Attrb 1 is Total Expense by Acct Description....(ie> 'Total Rent')
Attrb 2 is % Allocation by Acct Description.......(ie> '% Rent to Be Allocated')
Obviously, I used the attributes to avoid writing this rule 100 times, but I don't know how to incorporate the feeder. I don't know if it's possible to use the formula portion above in the left side of the feeder. I've tried, but I keep getting error messages like 'missing [' . I'd prefer not to have to write the feeder for every one of these accounts.
I'd appreciate any feedback.
Thank you,
Christian