Rule consolidation Issue
Posted: Thu Aug 24, 2017 5:06 pm
Hi I have the following rule in my cube .
SKIPCHECK;
['Beginning Balance','Total Qty on Hand'] = IF(NUMBR(ATTRS('Months', !Months, 'Month Number')) > 201601,(IF (SUBST(ATTRS('Months',!Months,'Month Number'),5,2) @='01',DB('Inventory_New', !Company Codes, !Storage Locations, !Inventory Buyers, !Inventory Ty
pes, !Inventory Methods, !Materials, !Vendors, STR(NUMBR(SUBST(ATTRS('Months',!Months,'Month Number'),1,4)
)-1,4,0) | '12', !Currencies, !Valuation Class, !Inventory Stock Category,'Ending Balance', !Inventory Measures),
DB('Inventory_New', !Company Codes, !Storage Locations, !Inventory Buyers, !Inventory Types, !Inventory Methods, !Materials, !Vendors,ATTRS('Months', !Months, 'Prior'), !Currencies, !Valuation Class, !Inventory Stock Category, 'Ending Balance ', !Inventor
y Measures)
)),STET);
Take prior months ending balance and apply to the current month , do it different for 1 st month alone .
FEEDERS;
['Ending Balance'] => ['Beginning Balance'];
The rule is simple the cube initial data is loaded from july 2016 which 201601 so the rule should be effective from 201602 .
My issue is the consolidation doesnt take place for August , total quantity on hand .
Attached the screen shot of the issuse .
Thanks,
SKIPCHECK;
['Beginning Balance','Total Qty on Hand'] = IF(NUMBR(ATTRS('Months', !Months, 'Month Number')) > 201601,(IF (SUBST(ATTRS('Months',!Months,'Month Number'),5,2) @='01',DB('Inventory_New', !Company Codes, !Storage Locations, !Inventory Buyers, !Inventory Ty
pes, !Inventory Methods, !Materials, !Vendors, STR(NUMBR(SUBST(ATTRS('Months',!Months,'Month Number'),1,4)
)-1,4,0) | '12', !Currencies, !Valuation Class, !Inventory Stock Category,'Ending Balance', !Inventory Measures),
DB('Inventory_New', !Company Codes, !Storage Locations, !Inventory Buyers, !Inventory Types, !Inventory Methods, !Materials, !Vendors,ATTRS('Months', !Months, 'Prior'), !Currencies, !Valuation Class, !Inventory Stock Category, 'Ending Balance ', !Inventor
y Measures)
)),STET);
Take prior months ending balance and apply to the current month , do it different for 1 st month alone .
FEEDERS;
['Ending Balance'] => ['Beginning Balance'];
The rule is simple the cube initial data is loaded from july 2016 which 201601 so the rule should be effective from 201602 .
My issue is the consolidation doesnt take place for August , total quantity on hand .
Attached the screen shot of the issuse .
Thanks,