Syntax for Area in Rule
Posted: Tue Jul 08, 2008 5:09 pm
I need to write a rule to apply an excahge rate. I was wondering how to write the area to include the elements of a consolidation without having to include all elements. Below is the syntax I am currently using. I would like to shorten it if possible.
['5080','5090','5091','5093','US$','Actual'] = N:IF(numbr(!Financial Accounts)>290000,(DB('Financials', !CoCost, !Financial Accounts, !Version, !Departments, !Month, 'CD$')/DB('Exchange Rate','CDA AVERAGE EXCHANGE RATE',!Month)),0);
There are many more costcenters than what is shown above. I want to include all elements of
"C0 50 Canada" without having to input them all into the area of the rule. Is there a way to do this?
Thank you,
Mark
['5080','5090','5091','5093','US$','Actual'] = N:IF(numbr(!Financial Accounts)>290000,(DB('Financials', !CoCost, !Financial Accounts, !Version, !Departments, !Month, 'CD$')/DB('Exchange Rate','CDA AVERAGE EXCHANGE RATE',!Month)),0);
There are many more costcenters than what is shown above. I want to include all elements of
"C0 50 Canada" without having to input them all into the area of the rule. Is there a way to do this?
Thank you,
Mark