9.5.1 How to Automate Maintenance of Hierarchies
Posted: Thu Jul 28, 2011 8:20 pm
I am trying to create an automated TI process to maintain our store hierarchy from base Oracle tables. Levels are: All: Division: Territory: Region: District: Store (n level).
As I have been out of the Applix loop for awhile, I am once again starting at the beginning stage I left at.
Creating an ODBC process, I created the statement pulling in all the elements noted above. When process ran, not all the consolidate levels were created, including top level. My goal is to update the hierarchy on an on-going basis once created.
The only advanced tab that was populated was metadata with:
DIMENSIONELEMENTINSERT('CostCenters','',CONCEPT,'c');
DIMENSIONELEMENTINSERT('CostCenters','',AREA_NAME,'c');
DIMENSIONELEMENTINSERT('CostCenters','',REGION,'c');
DIMENSIONELEMENTINSERT('CostCenters','',DISTRICT,'c');
DIMENSIONELEMENTCOMPONENTADD('CostCenters',CONCEPT,AREA_NAME,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',AREA_NAME,REGION,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',REGION,DISTRICT,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',DISTRICT,COST_CTR,1.000000);
I have attempted some google searches and searched the IBM manuals with no luck for what I am exactly looking for. I am not necessarily looking for a solution but some guidance on how a 'rookie' should approach. Thanks.
As I have been out of the Applix loop for awhile, I am once again starting at the beginning stage I left at.
Creating an ODBC process, I created the statement pulling in all the elements noted above. When process ran, not all the consolidate levels were created, including top level. My goal is to update the hierarchy on an on-going basis once created.
The only advanced tab that was populated was metadata with:
DIMENSIONELEMENTINSERT('CostCenters','',CONCEPT,'c');
DIMENSIONELEMENTINSERT('CostCenters','',AREA_NAME,'c');
DIMENSIONELEMENTINSERT('CostCenters','',REGION,'c');
DIMENSIONELEMENTINSERT('CostCenters','',DISTRICT,'c');
DIMENSIONELEMENTCOMPONENTADD('CostCenters',CONCEPT,AREA_NAME,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',AREA_NAME,REGION,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',REGION,DISTRICT,1.000000);
DIMENSIONELEMENTCOMPONENTADD('CostCenters',DISTRICT,COST_CTR,1.000000);
I have attempted some google searches and searched the IBM manuals with no luck for what I am exactly looking for. I am not necessarily looking for a solution but some guidance on how a 'rookie' should approach. Thanks.