Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9076

Re: Need a Logic for balance

$
0
0

Hi Mohd,

 

It worked Perfect for the new balance field, thank you so much, Also the balance field should change

 

In the above result set the 3rd Week balance should be same as 2nd week new balance

 

In other words, 2nd Week Balance should be same as first week new balance as shown below

 

Input

 

SSNDATEBALANCEPAID_AMOUNT
1111111111ST Week1000100
1111111112nd Week1000100
1111111113rd Week1000100
1111111121ST Week1000100
1111111122nd Week1000100
1111111123rd Week1000100
1111111124TH Week1000100

 

 

output

 

SSNDATEBALANCENEW_BALANCE
1111111111ST Week10001000
1111111112nd Week1000900
1111111113rd Week1000800
1111111121ST Week10001000
1111111122nd Week1000900
1111111123rd Week1000800
1111111124TH Week1000700

 

Thanks for your Effort


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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