Rules Editor - Grouping rules and feeders
Hi Arc Community,
When working with rules/feeders in TM1 you always have to scroll up and down to update the rule and then the feeder associated to this rule which is at the botton in the feeders section.
What if we could find a way in Arc to group the rule with its feeder.
We could either split the screen horizontally/vertically or we could find a way to use tags.
As you can see below the developer will need to add tags in the comments at the beginning and the end of the rule and feeders, We could use something like BeginRule-Id EndRule-ID and for the feeder BeginFeeder-Id EndFeeder-Id
#BeginRule-1
['Local', 'Payroll Taxes', 'Amount',{'Actual','Budget'}]= N:
['Salaries'] * DB('Regional Assumptions',!Version,!Year,!Period,!Region,'Payroll Tax Rate');
#EndRule
#BeginFeeder-1: Feeder for payroll tax
['Local', 'Salaries', 'Amount',{'Actual','Budget'}] => ['Payroll Taxes'];
#EndFeeder
#BeginRule-2
['Local','Sales and Marketing','6100','Amount'] = N:
['4500'] * DB('Regional Assumptions',!Version,!Year,!Period,!Region,'Commission');
#EndRule
#BeginFeeder-2: Feeder for payroll tax
['4500','Local','Sales and Marketing','Amount',{'Actual','Budget'}]=>['6100','Local','Sales and Marketing','Amount'];
#EndFeeder
When saving the rules in Arc, Arc will then split the rules and the feeders to create the feeders section as TM1 is expecting, this is how it will look in the rule file
SKIPCHECK;
#BeginRule-1
['Local', 'Payroll Taxes', 'Amount',{'Actual','Budget'}]= N:
['Salaries'] * DB('Regional Assumptions',!Version,!Year,!Period,!Region,'Payroll Tax Rate');
#EndRule
#BeginRule-2
['Local','Sales and Marketing','6100','Amount'] = N:
['4500'] * DB('Regional Assumptions',!Version,!Year,!Period,!Region,'Commission');
#EndRule
FEEDERS;
#BeginFeeder-1: Feeder for payroll tax
['Local', 'Salaries', 'Amount',{'Actual','Budget'}] => ['Payroll Taxes'];
#EndFeeder
#BeginFeeder-2: Feeder for payroll tax
['4500','Local','Sales and Marketing','Amount',{'Actual','Budget'}]=>['6100','Local','Sales and Marketing','Amount'];
#EndFeeder
What do you think?
Cheers,
Vincent