Code: Select all
['Oct', '2013 Forecast'] = N: IF(DB('Product Forecast Flags', 'Oct', '2013 Forecast', 'Forecast Flag') @= 'Closed',
DB('Product Forecast Data', !dimCostCentersProductForecasting, !dimProductCategory, !dimProductLine, !dimProducts, 'Oct', '2013 Forecast', !Quantity),STET);
However, the end user has added one more requirement, and that is to also at a specific date in the month (the 10th let's say), make the intersection of cells as shown above "writable" for only one security group, and "read" for all others.
Assuming I had the following security groups:
GROUP A
GROUP B
WRITABLE GROUP
While the following ignores the date portion of the requirements which I can figure out, Is it possible to look at the group of the current logged in user so that before applying the rest of the rule, or something like this:
Code: Select all
['Oct', '2013 Forecast'] = N: IF ("WRITABLE GROUP", STET, IF(DB('Product Forecast Flags', 'Oct', '2013 Forecast', 'Forecast Flag') @= 'Closed',
DB('Product Forecast Data', !dimCostCentersProductForecasting, !dimProductCategory, !dimProductLine, !dimProducts, 'Oct', '2013 Forecast', !Quantity),STET));]
Mike