Code: Select all
# 2/18/15 CK: need to populate the new Director_Subset_Flag and ran into some issues regarding data sourcing.
# This will use the Workforce_Adjustments cube to source whether the employee is a director. Depending on how
# the Transfers issue is dealt with, this rule may have to be revisited.
['Director_Subset_Flag'] = IF(DB('Workforce_Adjustments',
DB('Control Globals', 'Value', 'Current Version'),
DB('Labor Info', DB('Control Globals', 'Value', 'Current Version'), !Employee, 'Home Org'),
!Employee,
'CostPoint',
'Labor Cat') @= 'Director'
% DB('Workforce_Adjustments',
DB('Control Globals', 'Value', 'Current Version'),
DB('Labor Info', DB('Control Globals', 'Value', 'Current Version'), !Employee, 'Home Org'),
!Employee,
'Revised',
'Labor Cat') @= 'Director'
, 1
, 0);
It is still working fine in QA and Production, so further upgrading to Fixpack 2 is temporarily halted. Has anyone run into this problem? We have tried the following:
- using = N: notation
converting the value to be stored to a string
['Director_Subset_Flag'] = 99;
['Director_Subset_Flag'] = N:99;
Any ideas or solutions to this problem? Or an alternative? We are wanting to create dynamic subsets from dynamically calculated attributes on the dimension elements. As stated, we have this working in QA and Prod, just lost it in DEV when we upgraded a few days ago.
Additional note: rules on string elements appear to be functioning normally.
Thanks in advance.
Ty