Hi,
Here is my requirement:
WORKORDER_NUMBER | WO_LINE | ITEM | Start Date | Due Date | OPERATION | Number of Days |
111 | 0004 | AAA | 4/20/2015 | 4/21/2015 | 10 | 1.3889 |
111 | 0004 | AAA | 4/21/2015 | 4/21/2015 | 20 | 0.2306 |
111 | 0004 | AAA | 4/21/2015 | 5/3/2015 | 30 | 13.8333 |
222 | 0005 | BBB | 4/21/2015 | 4/21/2015 | 10 | 0.688 |
333 | 0006 | CCC | 4/22/2015 | 4/22/2015 | 10 | 0.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.