on 05-11-2011 12:31 PM
Dear all
I need to fill key figure with number of working dates in transformation
There is a key figure START_DATE in and I need to populate WORK_DAYS like CURRENT_DATE - START_DATE excluding holidays and weekends
I checked this thread and read some sample code:
/message/10006808#10006808 [original link is broken]
But where I need to add sample code of working days calculation - in start routine and characteristics routine or only at characteristic routine?
Hello there,
In the characteristic routine.
start routine will be executed before the characteristic assignment, and is better for instance to add records or remove records, etc. The characteristic assignment comes after with characteristic routines, and for each record this assignment and characteristic routine is done. If you have already the START_DATE and CURRENT_DATE you can proceed with the calculation on each record (with the characteristic routine assignment).
Hope this helps,
Regards,
Diogo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.