Rule: transfer data from input line
Posted: Tue Aug 13, 2013 9:06 am
Hi all,
I'm trying to rework some of the existing part of my model.
One thing is I want to write a rule which transfer data from an input line to the specific dataline.
The user first sekect costcenter and some other data which will be stored in the cube as a string.
After all necessary selections are made he will input quanities. those will be stored in a dummy costcenter.
Now I want to write a rule which reads the dummy costcenter for the inputs and writes those to the previous chosen costcenters.
What I don't get now is. Do I need to write on the right side of the rule the specific costcenter? Using the DB funtion on the right side didn't seem to work for me.
What is the best practice for userinputs in a cube? I thought having them input all data on the dummy elements and then moving the data to the selected items would be a good idea.
Any help is appreciated.
I'm trying to rework some of the existing part of my model.
One thing is I want to write a rule which transfer data from an input line to the specific dataline.
The user first sekect costcenter and some other data which will be stored in the cube as a string.
After all necessary selections are made he will input quanities. those will be stored in a dummy costcenter.
Now I want to write a rule which reads the dummy costcenter for the inputs and writes those to the previous chosen costcenters.
Code: Select all
['Quantity','1999'] = N:DB('Employee',
!ID,
!Month,
!Year,
DB('Employee',!ID,!Month,!Year,'Cost Center Total',!CostUnit,!Version,'IN_CostCenter'),
!CostUnit,
'FC_M08',
DB('Employee',!ID,!Month,!Year,'KST_BFC',!CostUnit,'FC_M08','Quantity'));
What is the best practice for userinputs in a cube? I thought having them input all data on the dummy elements and then moving the data to the selected items would be a good idea.
Any help is appreciated.