Hi Guys,
I have requirement to Copy data from one paycycle (Prev) to another Paycycle(Current) when Flag=1 otherwise it shouldn't do anything.
User input from the Input template
Costcenter | HRACCT | SKF | Paycycle | Measure(Sign data) |
---|---|---|---|---|
633014 | REOCCURING | SK201 | 2015.09.19 | 1 |
633014 | REOCCURING | SK203 | 2015.09.19 | 1 |
633014 | SPPY | SK201 | 2015.09.19 | -25% |
633014 | SPPY | SK203 | 2015.09.19 | -25% |
633014 | RECOORURING | SK201 | 2015.09.19 | 0 |
633014 | SPPY | SK201 | 2015.09.19 | 50% |
I want to read SPPY value when REOCCRING =1 from Paycyle 2015.09.19(PREV) to COPY Paycycle 2015.10.03 (Current). If REOCCURING =0 SPPY value shouldn't COPY . it shouldn't do anything.
I have Propertys PREV and CURR on Paycycle dimension my scope is resticting to PREV diemension.
I am attching the script which i developed, my scirpt is copying always even RECOOYRING=0 can anyone help how to acheve this one.
My expected outout should be like this
Costcenter | HRACCT | SKF | Paycycle | signdata |
---|---|---|---|---|
633014 | REOCCURING | SK201 | 2015.10.03 | 1 |
633014 | REOCCURING | SK203 | 2015.10.03 | 1 |
633014 | SPPY | SK201 | 2015.10.03 | -25% |
633014 | SPPY | SK203 | 2015.10.03 | -25% |