I have a feeder for a rule to escalate rate to future months and the rule took about 20 min to save. The model has no data and I am guessing it must be something with the feeder. Can some tell me how I can debug the feeder?
Code: Select all
SKIPCHECK;
['Rate']=N: IF
(
ATTRS('Version', !Version, 'Live') @= 'Y',
If( DB('InfoRate',!Employees, 'Actual', !Months, 'ActualRate') = 0,
DB('InfoRate',!Employees, 'Forecast', ATTRS('Months',!Months, 'PrevMonth'), 'Rate')
, Continue)
,continue
);
FEEDERS;
['Rate'] => DB(If( ATTRS('Version', !Version, 'Live') @= 'Y', 'InfoRate',''),!Employees,'Forecast', ATTRS('Months',!Months, 'NextMonth') ,'Rate') ;
Thanks,
Paul.