IBM Cognos TM1 - official guide - problem with rule
Posted: Thu Nov 27, 2014 4:08 pm
Hi
I'm studying IBM Cognos TM1 - official guide, and i have problem witch rule in chapter 18 (production planning).
Maybe somebody had same issue.
The rule:
I think prolem is in attrs('SL Periods',!SL Periods,'Ref') - i don't know what is in attribute Ref and i can't find it in book.
I'm studying IBM Cognos TM1 - official guide, and i have problem witch rule in chapter 18 (production planning).
Maybe somebody had same issue.
The rule:
Code: Select all
Skipcheck;
['No Article','Secondary Demand']=N:DB('SL Demand 2''Total',!SL Articles,!SL Demand,!SL Periods,!SL Types);
['Secondary Demand']= N:DB('SL Demand 2',!SL Articles,!Sl Article Child,'BOM',attrs('SL Periods',!SL Periods,'Ref'),!SL Types)*
DB('SL Demand 2',!SL Articles,'NoArticle.','Demand',!SL Periods,!SL Types);
feeders;
['BOM','Value']=>['Secondary Demand'];
['SL Articles':'Total']=>DB('SL Demand 2',!Sl Article Child,'No Article',!SL Demand,!SL Periods,!SL Types);