['Planned Production Qty -Kgs'] =>DB('Plan', !CakeType, IF(DIMIX('month',!Month)<12,
DNEXT('Month',!Month), 'December'),'Planned Production Qty - Kgs');
The
complete rule for the Plan cube should now appear as follows:
SKIPCHECK;
['Planned Production Qty - Kgs']=IF)(DIMIX('Month',!Month)<DIMIX('MONTH',
DB('CurrentMonth','aNumber','aString')),DB('Production',!CakeType,
!Month,'Quantity Produced - Kgs'),DB('Plan',!CakeType,DIMNM('Month',
(DIMIX('Month',!Month)-1)),'Planned Production Qty - Kgs')*
[Adj. % from last month']); FEEDERS;
['Planned Production Qty - Kgs']=>DB('Plan',!CakeType,IF(DIMIX('month',
!Month)<12,DNEXT('Month',!Month),'December'),'Planned
Production Qty - Kgs');