Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3212

Script REC Expression

$
0
0

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

 

 

CostcenterHRACCTSKFPaycycleMeasure(Sign data)
633014REOCCURINGSK2012015.09.191
633014REOCCURINGSK2032015.09.191
633014SPPYSK2012015.09.19-25%
633014SPPYSK2032015.09.19-25%
633014RECOORURINGSK2012015.09.190
633014SPPYSK2012015.09.1950%

 

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

 

 

 

CostcenterHRACCTSKFPaycyclesigndata
633014REOCCURINGSK2012015.10.031
633014REOCCURINGSK2032015.10.031
633014SPPYSK2012015.10.03-25%
633014SPPYSK2032015.10.03-25%

Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>