Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Running count of number of days for each WONUM, WOLINE and ITEM

$
0
0

Hi,

 

 

Here is my requirement:

 

WORKORDER_NUMBERWO_LINEITEMStart DateDue DateOPERATIONNumber of Days
1110004AAA4/20/20154/21/2015  101.3889
1110004AAA4/21/20154/21/2015  200.2306
1110004AAA4/21/20155/3/2015  3013.8333
2220005BBB4/21/20154/21/2015100.688
3330006CCC4/22/20154/22/2015100.688

 

 

I need to calculate as above, my due date depends on operation time and for example:

 

for WONUM:111 , operation:10 it took 1.3 days so due date should be 4/21/2015, now we have (whole day-0.23 day) left so my second operation starts at same day 4/21/2015.

 

Every WO num will have a specific start date, we need to calculate only Due date according to the number of days it takes to finish.

Number of hours in a day is 15.

 

Can anyone give me some idea to achieve this is dataservice.

Thanks in advance.


Viewing all articles
Browse latest Browse all 3719

Trending Articles



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