Quantcast
Viewing all articles
Browse latest Browse all 5414

Need help in validating the script logic

Hi,

 

Currently we are working on NW BPC 10.0

 

I need a help in modifying my script logic. Below code is my current script logic.

 

Image may be NSFW.
Clik here to view.
current script.PNG

 

My requirement is:

Image may be NSFW.
Clik here to view.
reqiurement.PNG

 


From the above screen shot,

 

if TOT_COMP_YTD<FUT_LIMIT then TOT_COMP*FUT_RATE should be done

if TOT_COMP_YTD>FUT_LIMIT then subtract current month FUT_LIMIT with previous month TOT_COMP_YTD(only   for first occurrence of                                                                                                                              TOT_COMP_YTD>FUT_LIMIT, remaining all should be ZEROs)

 

 

 

I have changed my script as below and executed in UJKT, but I am getting some validation error.

Image may be NSFW.
Clik here to view.
new.png

 

Can anybody help me how to achieve this.

 

Regards

Anitha


Viewing all articles
Browse latest Browse all 5414

Trending Articles



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