Posts

Showing posts from October, 2015

Extract/Create Dimension Master values

Hi, The below job helps to extract all the values for the specific dimension. //To extact all the values for a specific dimension (ex: Department) static void ExtractDimensionValues(Args _args) {     DimensionValueService   service         = new DimensionValueService();     DimensionContract       contract        = new DimensionContract();     DimensionValueContract  contractValue   = new DimensionValueContract();     List                    deptDimList;     ListEnumerator          listEnum;        Name                    dimensionName;     str                         value;     Description             description;     ;         //To create new values in the specific dimension     //contractValue.parmDimensionAttribute('Departments');     //contractValue.parmValue('HR')     //contractValue.parmDescription('Human Resources');     //service.createDimensionValue(contractValue);     //To get the values for the specific dimension     contract.p